Re: [R] How to set working directory to a fixed map?

From: Duncan Murdoch <murdoch_at_stats.uwo.ca>
Date: Tue, 05 Feb 2008 08:41:54 -0500

On 2/5/2008 7:26 AM, Falco tinnunculus wrote:
> Dear all,
>
> How do I set the working directory to a fixed map? It's time consuming to
> change working directory every time I run R.

You can put a setwd() command in your Rprofile. On Windows, you could set the startup directory in the shortcut. On any system, you could write a little script that changed directory, then started R.

Duncan Murdoch



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Tue 05 Feb 2008 - 13:53:37 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 05 Feb 2008 - 14:30:11 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive