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

From: Duncan Murdoch <>
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 mailing list PLEASE do read the posting guide 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 Please read the posting guide before posting to the list.

list of date sections of archive