[R] R problem

Prof Brian D Ripley ripley at stats.ox.ac.uk
Fri Feb 2 22:07:03 CET 2001

On Sat, 3 Feb 2001 Ko-Kang at xtra.co.nz wrote:

> You need to specify the abosulte path of the file.  Otherwise R will assume your file is in R_HOME/bin directory.

Actually, whatever you set as the working directory in the shortcut.


> Ko-Kang Wang
>   ----- Original Message -----
>   From: Erik Bury
>   To: R-help at lists.R-project.org
>   Sent: Saturday, February 03, 2001 1:19 AM
>   Subject: [R] R problem
>   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

Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

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