vim-r

Calling ssh with system in R shell eats subsequent commands

橙三吉。 提交于 2019-12-11 02:18:15
问题 My workflow is to send commands from an emacs buffer to an R session in emacs via the ESS package. a=0; system("ssh remotehost ls") a = a+1; When I run the three lines above in rapid succession (i.e. submit them to the R buffer), the value of a at the end is 0. When I run them slowly, a is 1. I've only had this issue running an ssh command via system. In all other cases, the commands queue up and all run sequentially. My colleagues have the exact same issue with their R/vim setup. But we don

Disable underscore “_” shortcut inserting “<-” in Vim R plugin [duplicate]

别等时光非礼了梦想. 提交于 2019-12-01 04:02:41
This question already has an answer here: Vim: underscore(_) automatically converted to (<-) 4 answers By default, the Vim-R-plugin inserts <- whenever I type or paste an underscore _ . This creates problems when I paste stuff like geom_bar , which becomes geom <- bar . Is there a way to turn this short-cut off? I tried looking at the manual (scroll down to Edit section) but couldn't figure out how to do it. I'm using Vim-R-plugin Version 0.9.9.9 for Vim version 7.4. From the help page of the plugin: 6.3. Assignment operator and Rnoweb completion of code block ... To completely disable this

Disable underscore “_” shortcut inserting “<-” in Vim R plugin [duplicate]

女生的网名这么多〃 提交于 2019-12-01 02:07:35
问题 This question already has answers here : Vim: underscore(_) automatically converted to (<-) (4 answers) Closed 5 years ago . By default, the Vim-R-plugin inserts <- whenever I type or paste an underscore _ . This creates problems when I paste stuff like geom_bar , which becomes geom <- bar . Is there a way to turn this short-cut off? I tried looking at the manual (scroll down to Edit section) but couldn't figure out how to do it. I'm using Vim-R-plugin Version 0.9.9.9 for Vim version 7.4. 回答1