[R] change default directory

Uwe Ligges ligges at statistik.uni-dortmund.de
Fri May 3 19:39:14 CEST 2002

wouter.buytaert at yucom.be wrote:
> hello,
> maybe a silly question, but how do you set a default directory of
> R, i.e. the place where R looks for source() files etc. at startup?

You can specify the path in source().
To set the working directory, use setwd().

> R 1.5.0 on Mandrake linux 8.2
> BTW, it seems that my doc-directory is crippled (a lot of files
> are lacking). A flaw of the mandrake 8.2-rpm's or a bad install?

Uwe Ligges
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list