>-----Original Message----- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] On Behalf Of Morten >H Pedersen >Sent: Tuesday, March 18, 2003 1:38 PM >To: [EMAIL PROTECTED] >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 ______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help
