Joan Serra wrote:

Hello,

I am using R for Windows and I receive error messages when trying to
change my working directory:


setwd('C:\BACC_R')

Error in setwd(dir) : cannot change working directory

I would really appreciate your help,
Joan Serra


Hi Joan,

Please review the following:

http://cran.r-project.org/bin/windows/rw-FAQ.html

In rw-FAQ 4.1 it says:

<quote>
4.1 What should I expect to behave differently from the Unix version of R?
<snip>
Paths to files (e.g. in source()) can be specified with either "/" or "\\".
</quote>

Try setwd('C:/BACC_R') or setwd('C:\\BACC_R').


--sundar

______________________________________________
[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