Re: [Rd] (PR#14012)

2009-10-17 Thread Prof Brian Ripley
On Sat, 17 Oct 2009, Seth Falcon wrote: * On 2009-10-16 at 15:00 +0200 sj...@damtp.cam.ac.uk wrote: I think Rscript has a problem running files that have mac encodings for newline (^M rather than ^J on linux). I think those are Mac conventions for end-of-line, not for newline. Even in MacRom

Re: [Rd] (PR#14012)

2009-10-17 Thread Peter Dalgaard
Seth Falcon wrote: * On 2009-10-16 at 15:00 +0200 sj...@damtp.cam.ac.uk wrote: I think Rscript has a problem running files that have mac encodings for newline (^M rather than ^J on linux). If I source the file within R, it works okay: source('j.R') [1] "MEA_data/sernagor_new/CRX_P7_1.txt"

Re: [Rd] (PR#14012)

2009-10-17 Thread Gabor Grothendieck
Even though its not hard to convert files, I think it would be better if R could directly handle different line endings since R tends to be used in a cross platform way and its common to have files of different line endings that originated from different systems. On Sat, Oct 17, 2009 at 5:03 PM, S

Re: [Rd] (PR#14012)

2009-10-17 Thread Seth Falcon
* On 2009-10-16 at 15:00 +0200 sj...@damtp.cam.ac.uk wrote: > I think Rscript has a problem running files that have mac encodings > for newline (^M rather than ^J on linux). If I source the file within > R, it works okay: > > source('j.R') > [1] "MEA_data/sernagor_new/CRX_P7_1.txt" > > But if I

[Rd] (PR#14012)

2009-10-17 Thread sje30
I think Rscript has a problem running files that have mac encodings for newline (^M rather than ^J on linux). If I source the file within R, it works okay: > source('j.R') [1] "MEA_data/sernagor_new/CRX_P7_1.txt" But if I run the file using Rscript on a linux box I get a strange error message: