I do a lot of scripting using interactive R sessions on a remote machine.
Often times I want to paste many lines of code into R in one step from my clipboard, but I noticed that at a certain amount of lines/characters (roughly 50+ lines), the input I paste from my clipboard seems to get truncated (often times mid-line) resulting in a + sign in the console mmeaning that R is waiting for the current command to get its closing paranthesis.
This is very annoying as I need to either copy/paste in small chunks from the clipboard or write a tmp.r
script to disk in which I can copy the entirety in and then source
it.
Is there any way to allow a larger amount of code being pasted into the R console from the clipboard?