Skip to content
Prev 13738 / 398503 Next

Problem with read.table and scan

"Scott, Uriel" wrote:
Just specify the location completely, e.g.:
 read.table("c:/my_path_to_the_file/air.data", header=TRUE)

R looks in your current working directory for files without specified
path.
You get the current working directory by
  getwd()

Uwe Ligges
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._