Re: [Rd] Command line length limits in R

2006-08-25 Thread Prof Brian Ripley
Yes, that's the essence of the problem: long lines get truncated by the R-readline interface and so the next line is appended to part of the previous line (without the closing " in this case). It works from redirected input because the first chunk is syntactically incomplete (and --no-readline

Re: [Rd] Command line length limits in R

2006-08-25 Thread Jeffrey Horner
Prof Brian Ripley wrote: > I've been trying to track down some of the issues with command line length > limits, and those writing GUIs/front-ends need to pay some attention to > the issue. > > src/unix/system.txt says > > *int R_ReadConsole(char *prompt, char *buf, int buflen, int hist)

[Rd] Command line length limits in R

2006-08-24 Thread Prof Brian Ripley
I've been trying to track down some of the issues with command line length limits, and those writing GUIs/front-ends need to pay some attention to the issue. src/unix/system.txt says *int R_ReadConsole(char *prompt, char *buf, int buflen, int hist) * * This function prints the given p