[R] Odp: Default Working directory on windows 7?
petr.pikal at precheza.cz
Tue Jan 4 11:09:34 CET 2011
r-help-bounces at r-project.org napsal dne 04.01.2011 10:35:23:
> Just installed R on a new Windows 7 machine (as admin).
> I feel quite uncomfortable knowing that the default WD when starting R
> > getwd()
>  "C:/Windows/system32"
Something was set incorrectly. I believe that with default setting R shall
be somewhere in Program Files directory (but you can install it to any
directory without problems). Try to remove it and reinstall if it is in
some inconvenient place.
There is one file .RData which is used as starting workspace. So make any
directory, copy this file to it, start R by double click on it and now the
new directory is working directory.
Quite useful when working on several projects.
> I guess I did something wrong when installing R... How to change R's
> default working directory?
> R-help at r-project.org mailing list
> PLEASE do read the posting guide
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help