Sunday 28 April 2019

bash - Disable the ">" operator in Rstudio linux terminal

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

How can I VLOOKUP in multiple Excel documents?

I am trying to VLOOKUP reference data with around 400 seperate Excel files. Is it possible to do this in a quick way rather than doing it m...