Skip to content
Prev 683 / 20628 Next

read.csv: uploading files

Alex Fajardo wrote:
You ensure that the file is in the CURRENT directory, as always.

Now, the default for that has changed, because the install directory was 
not writable for some installs, and dumping random files there was never 
a good idea. To find out where the current directory is, type getwd(), 
to change it, use setwd() or "File/Change dir" from the menu.

Or, of course, you can give the complete path to the file. If you don't 
know what it is, file.choose() is your friend.