[R] Reading CSV file
Bretschneider SIG-R
bretschr at xs4all.nl
Fri Apr 19 17:41:03 CEST 2013
Dear Gafar Matanmi Oyeyemi,
Re:
> I am trying to read a csv file using the code;
> contol <- read.csv("RBS.csv")
> This is the error message I got;
> Error in file(file, "r") : unable to open connection
> In addition: Warning message:
> In file(file, "r") :
> cannot open file 'RBS.csv', reason 'No such file or directory'
>
I always use "file.choose()" to find the exact path name, e.g.
contol <- read.csv(file.choose())
After having found the path name, you can put it in the R source text for future use (provided it remains the same of course).
Best wishes,
Franklin Bretschneider
--
Dept of Biology
Kruytgebouw W711
Padualaan 8
3584 CH Utrecht
The Netherlands
More information about the R-help
mailing list