On Sat, 2010-10-16 at 16:16 -0700, andreas wrote:
> I had exactly the same problem with trying to import another .csv file. Turns
> out that I was working on a german computer that instead of using a comma
> when I saved it as .csv used a semicolon. Just saved it as a normal excel
> file, put it on a mates computer and saved it as .csv  Worked a treat..

I no longer have the earlier messages in this thread, but isn't the
above what read.csv2() was designed to overcome? And you could always
cook your own with read.table() and specify the separator and decimal
for example if neither read.csv nor read.csv2 were exactly what you
wanted.

HTH

G

-- 
%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%
 Dr. Gavin Simpson             [t] +44 (0)20 7679 0522
 ECRC, UCL Geography,          [f] +44 (0)20 7679 0565
 Pearson Building,             [e] gavin.simpsonATNOSPAMucl.ac.uk
 Gower Street, London          [w] http://www.ucl.ac.uk/~ucfagls/
 UK. WC1E 6BT.                 [w] http://www.freshwaters.org.uk
%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%

______________________________________________
[email protected] 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.

Reply via email to