[R] trouble getting R program to open a data file
Peter Dalgaard BSA
p.dalgaard at biostat.ku.dk
Mon Jun 17 23:59:06 CEST 2002
Paul Yoder <paul.yoder at vanderbilt.edu> writes:
> We've written an R program to conduct a series of analyses on a data file
> that is a comma separated value file. At one time it worked, but every
> since having down loaded the new version of R, I'm getting the following:
> Cannot open c:windowsdesktopslope.csv
> What I've asked the program to do is to open a datafile using the following:
> DataFile<- 'c:\windows\desktop\slope.csv'
> So it is clearly stripping the "\" from the path. I've tried using "/" to
> no avail. Any suggestions?
"/" should work, or "\\" -- if the file is actually there, of course.
O__ ---- Peter Dalgaard Blegdamsvej 3
c/ /'_ --- Dept. of Biostatistics 2200 Cph. N
(*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907
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