Re: [R] setting new working directories

From: Barry Rowlingson <b.rowlingson_at_lancaster.ac.uk>
Date: Thu 04 Jan 2007 - 15:40:40 GMT

Bill Shipley wrote:

>> Hello, and Happy New Year. My default working directory is getting very
>> cluttered. I know that I should be using a different working directory for
>> each project (I work in Windows), but do not know how to go about creating
>> different ones and moving back and forth between them.

  If you make a new directory, then in it put a copy of a shortcut to R (actually to Rgui.exe in R's bin directory) then right click on the shortcut, select 'Properties', and set the 'start in' to your new working directory, you can browse to that directory in windows, double click the R shortcut, and be working in that new working directory with no setwd() needed.

Barry

PS oh, I mean 'folder' not 'directory' of course, this is Windows...



R-help@stat.math.ethz.ch 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 Fri Jan 05 02:47:28 2007

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Thu 04 Jan 2007 - 16:30:30 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.