[R] import csv file problem
sisxy
xueyingkoo at gmail.com
Thu Sep 23 02:24:47 CEST 2010
Hello, i am trying to import the csv file into R .
i have a file saved as csv in my desktop.
My laptop is Window vista, version R is 2.10.1.
then i used the code
> Q<-read.csv("Q.csv",header=TRUE)
then my error is
Error in file(file, "rt") : cannot open the connection
In addition: Warning message:
In file(file, "rt") :
cannot open file 'Q.csv': No such file or directory
i already search the previous solution....
i am confused , because
some say for the file name is C:\\Q.csv
so i change to
> xx<-read.csv("C:\\desktop\\xx.csv",header=TRUE)
but ,
Error in file(file, "rt") : cannot open the connection
In addition: Warning message:
In file(file, "rt") :
cannot open file 'C:\desktop\xx.csv': No such file or directory
>
any problem for my code ? any problem for the location of the file i saved
or other possible problem that i dont know ?
Really need urgent help ...
thanks
--
View this message in context: http://r.789695.n4.nabble.com/import-csv-file-problem-tp2551256p2551256.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list