[R] Importing file from Excel

BXC (Bendix Carstensen) bxc at novonordisk.com
Mon Aug 27 10:14:18 CEST 2001


> -----Original Message-----
> From: srinivasa raghavan [mailto:sristatistician at yahoo.com]
> Sent: 27. august 2001 08:26
> To: r-help at stat.math.ethz.ch
> Subject: [R] Importing file from Excel
> 
> 
> Hi,
> 
>  I have a basic import problem. I tried to import a
> comma delimited "boston.csv" from C drive and gave the
> following command at R prompt
> 
> >read.csv(c:\boston.csv,sep=",",dec=".",fill=TRUE)
> Error: syntax error

You need

read.csv("c:/boston.csv",sep=",",dec=".",fill=TRUE)

Best wishes, 
Bendix

----------------------
Bendix Carstensen
Senior Statistician
Steno Diabetes Centre
Niels Steensens Vej 2
DK-2820 Gentofte
Denmark
tel: +45 44 43 87 38
mob: +45 28 25 87 38
fax: +45 44 43 73 13
bxc at novo.dk
www.biostat.ku.dk/~bxc
----------------------


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list