[R] R problem
paradis at isem.univ-montp2.fr
Fri Feb 2 16:05:12 CET 2001
At 13:19 02/02/01 +0100, you wrote:
hello!! i'm starting with R and i have some big problems:when i try to
take a notepad document (or word) i can't put it into R!!!! i tried :
read.table("nameofmyfile.dat") but it doesn't work!!!!! my computer
says:error in file(file, "r"): cannot open file "nameofmyfile" I think i
have to save my notepad file on another location....can u help me?????
thank u very much veerle bury
This isn't such a big problem! You can change your working directory with
(note that you MUST use / and not \, even under Windows)
To check what is the current working directory:
Another possibility is that you give the path to your data file, eg:
Finally, your data file must be saved in ASCII format.
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