For an interactive session via SSH on a Linux cluster in Rstudio, it is very easy to accidentally execute the keyboard shortcut for "run in terminal" when commands are highlighted in Rstudio console. This results in behavior such as
\> library
or
Var1>Var2
being executed in terminal, which creates a library
or Var2
file in the remote working directory if the terminal is logged in at the bash prompt.
In a worst case scenario this would result in overwriting files in the remote working directory.
I would like to disable ">" in these sessions, but I am not sure how to do this.
No comments:
Post a Comment