>-----Original Message-----
>From: r-help-bounces at stat.math.ethz.ch
>[mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Morten
>H Pedersen
>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)
>
>Sincerely,
>
>
>Morten H Pedersen, M.D.
Yes. See ?setwd which sets the current working directory along with
getwd(), which gets the current working directory.
HTH,
Marc Schwartz