Hi. I recently upgraded to Nvim-R 0.9.14 (now have a clean install with Vim 8.2 on Ubuntu 20.04) and discovered there are new and unwanted changes to the behavior when debugging code using R's browser() function.
When I source a script (foo.R) that contains the browser() function somewhere, now a new Vim buffer (foo.R.tmp.R) opens. If I interrogate an object in my script, focus shifts to the console buffer instead of staying put. If I manually shift focus back to the code buffer, it shifts back to the line containing the buffer() function even if I had navigated away from it. It used to be that I could keep focus on my script and freely navigate around interrogating objects using RAction shortcuts for "dim()", "head()", etc. Now it seems I have to toggle back and forth between the code and console buffers, repeat any navigation commands, and manually reload my script to save any changes I make. These changes are unhelpful and unwanted.
I tried unsuccessfully to disable these changes by experimenting with settings in my .vimrc like:
let R_debug=0
let R_disable_cmds=['RDebug', 'RUndebug']
I searched the documentation, the source code, and Google Groups conversations, but I haven't found any guidance about this issue. Please help me to disable this behavior. Thanks very much!