On Mon, 10 May 2004, William Revelle wrote:
big5r.txt is delimited by CR not LF, and as R writes it as a binary file,
that's not the file that got saved.
Thanks. That was the problem. I was transferring the files from my
Mac to my web server (also a Mac) using Interarchy. It was putting
Dear list,
I am trying to prepare a handout showing how to use R for factor
analysis. As part of the exercise I want to save a correlation
matrix on a tutorial web page. I can save with no problem (saving
locally and then transferring to the web site). Although I can
load() the local file,
big5r.txt is delimited by CR not LF, and as R writes it as a binary file,
that's not the file that got saved.
Same problem with the header on big5r.
Try some octal dumps and find out which step is changing the file.
BTW, I would use load(url(someURL)) these days.
On Mon, 10 May 2004,
big5r.txt is delimited by CR not LF, and as R writes it as a binary file,
that's not the file that got saved.
Thanks. That was the problem. I was transferring the files from my
Mac to my web server (also a Mac) using Interarchy. It was putting
in CRs rather than LFs (the Interarchy options