Try adding a missing singe quote (') at the end of your working directory.

setwd('d:/folder_name')  

S.


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Louize Hill
Sent: Friday, June 18, 2004 13:38
To: [EMAIL PROTECTED]
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.

______________________________________________
[EMAIL PROTECTED] 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}}

______________________________________________
[EMAIL PROTECTED] 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

Reply via email to