Check your csv file if the first field is "ID". If so then change it
to
something else or change it to "id".
Deng
-----Original Message-----
From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org]
On
Behalf Of Bob Green
Sent: Saturday, November 10, 2007 7:32 PM
To: r-help at r-project.org
Subject: [R] reading csv files - SYLK : file format not valid
I am wanting to read EXCEL files into R. In the past I have saved
EXCEL files as csv files without difficulty. Recently, when I have
saved the files in this format I am then unable to open them again in
EXCEL or though windows (XP). I receive a message stating - SYLK:
file format not valid.
R will read the file, but I cannot open it in windows. Csv files
created and saved in the past (on the same computer) can still be opened.
I am not saving as csv (Macintosh) and saving as a SYLK file results
in the same error.
Any suggestions are appreciated,
Bob
______________________________________________
R-help at r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.