[Rd] R for Windows leaves detritus in the temp directory

2021-06-15 Thread Henrik Bengtsson
ISSUE: The TMPDIR validation done in src/gnuwin32/system.c: /* in case getpid() is not unique -- has been seen under Windows */ snprintf(ifile, 1024, "%s/Rscript%x%x", tm, getpid(), (unsigned int) GetTickCount()); ifp = fopen(ifile, "w+b"); if(!ifp) R_Suicide(_("creation

Re: [Rd] Bracketed paste issues on Linux

2021-06-15 Thread Voeten, C.C.
Thanks to both for these suggested workarounds! I had indeed modified my .inputrc to disable bracketed paste; thanks for also making me aware of the existence of source("clipboard"). Of course, it would be nice if there still was a way for bracketed paste to work even with large amounts of text

Re: [Rd] Bracketed paste issues on Linux

2021-06-15 Thread Tomas Kalibera
One can also disable bracketed paste for R in .inputrc: $if R   set enable-bracketed-paste off $endif Tomas On 6/15/21 11:09 AM, Prof Brian Ripley wrote: I would have used source("clipboard") on systems which support it (Tomas has confirmed it works on Linux).  See ?file. The macOS equivalen

Re: [Rd] Bracketed paste issues on Linux

2021-06-15 Thread Prof Brian Ripley
I would have used source("clipboard") on systems which support it (Tomas has confirmed it works on Linux). See ?file. The macOS equivalent source(pipe("pbpaste")) also works. On 14/06/2021 11:06, Cesko Voeten wrote: Making it 1024 times larger gives: installing 'sysdata.rda' Error: segfault