Re: [R] set working directory in Windows XP

2009-12-04 Thread Prof Brian Ripley
You set this on the properties of the shortcut you use to start R, just like any other Windows application. R's working directory is always initially the directory it is started from. This *is* in the FAQ: http://cran.r-project.org/bin/windows/base/rw-FAQ.html#How-do-I-run-it_003f even thou

[R] set working directory in Windows XP

2009-12-04 Thread Ivan Calandra
Hello everybody, I'm new in the R world and I'm struggling to set the working directory. Up to now, I just set it up every time I start R ( 'setwd()' ) but I'd like it to be set automatically. I've read the FAQ as well as the help on Startup ('?Startup') about the environment variables and prof