[R] Change directory in script
mschwartz at medanalytics.com
Tue Mar 18 20:53:07 CET 2003
>From: r-help-bounces at stat.math.ethz.ch
>[mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Morten
>Sent: Tuesday, March 18, 2003 1:38 PM
>To: r-help at stat.math.ethz.ch
>Subject: [R] Change directory in script
>Is there an R command to change directory? (it would be nice
>to include in scripts to go to the right directory)
>Morten H Pedersen, M.D.
Yes. See ?setwd which sets the current working directory along with
getwd(), which gets the current working directory.
More information about the R-help