Try adding a missing singe quote (') at the end of your working directory.
setwd('d:/folder_name')
S.
-----Original Message-----
From: r-help-bounces@stat.math.ethz.ch
[mailto:r-help-bounces@stat.math.ethz.ch] On Behalf Of Louize Hill
Sent: Friday, June 18, 2004 13:38
To: r-help@stat.math.ethz.ch
Subject: [R] set working directory
I have just upgraded from rw1081 to rw1090 (using Windows 2000).
Now when I type the command:
> setwd('d:/folder_name)
I get the following error message:
Error in setwd(dir) : cannot change working directory
If I use the "change dir" tab in the file menu i can sucessfully
change
working directories, but this is not so convenient as i have my whole model
stored as a text file that I prefer to copy into R.
______________________________________________
R-help@stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide!
http://www.R-project.org/posting-guide.html
---------------------------------------------------------
Legal Notice: This electronic mail and its attachments are i...{{dropped}}