Skip to content
Prev 43386 / 398506 Next

please help me!

If your working directory contains a file you want to read then the
following should work:

  dat <- read.table("filename.txt")

If you want to use absolute paths, you have to be careful with the '\'
because that is an escape character... so try:

  dat <- read.table("c:/some/path/notice/forward/slashes/data.txt")
  # or
  dat <- read.table("c:\\double\\back\\should\\work\\data.txt")
On Thu, Jan 29, 2004 at 09:19:23AM -0700, mpalmier at mines.edu wrote: