Skip to content
Back to formatted view

Raw Message

Message-ID: <3EBABA92.1050908@netscape.net>
Date: 2003-05-08T20:14:10Z
From: Joel Kincaid
Subject: EXCEL FILE

Peter Dalgaard BSA wrote:
> Those are the defaults... read.csv(file='foo.csv') should do. Use
> header=FALSE if the header is absent. Notice also that in some
> locales, CSV files have "," for decimal separator and ";" for the
> value. That's where read.csv2 is relevant.
> 

This will save me some typing...
and also I goofed with the orginal specification:
 > Joel Kincaid <jfkincaidsu at netscape.net> writes:
 >
 >
 >>Use 'save as' in excel to create 'foo.csv' and then
 >>
 >>read.csv(file='foo.csv',sep',',header=T)
                ^^^^^                       Should have (unnecessarily :) written "sep=','" rather 
than the
syntax error inducing "sep','"      

Cheers, Joel