Re: [R] setting new working directories

From: Professor Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Thu 04 Jan 2007 - 15:25:06 GMT

Abhijit Dasgupta wrote:

> An additional note for Windows. The directory name needs to be written 
> as "C:/Project/Working directory" or "C:\\Project\\Working directory" as 
> opposed to the usual way of referencing directories in Windows.

Which are? Those are the forms given in the Microsoft documentation.

The 2002 edition of MASS is not at all out of date: the 1994 edition is explicitly about S-PLUS (and the 'Windows' version of S-PLUS in 1994 was in fact a DOS program running under an extender).

> AA wrote:

>> use setwd() and getwd(). see ?setwd
>> or on the shortcut properties tab, set the target directory to your working dir and have
>> as many shortcuts as working directories.
>> working with R commands does it for me.
>> all the best.
>> A.
>>
>> ----- Original Message ----
>> From: Bill Shipley <bill.shipley@usherbrooke.ca>
>> To: R help list <r-help@stat.math.ethz.ch>
>> Sent: Thursday, January 4, 2007 9:41:35 AM
>> Subject: [R] setting new working directories
>>
>> 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. I have read Venables

>> & Ripley (Modern Applied Statistics with S-PLUS, 1994) but this seems out of
>> date with respect to this topic and have searched through the documentation
>> but cannot find a clear explanation for doing this. Can someone point me to
>> the proper documentation for creating and using different working
>> directories from within Windows (please, no comments about switching to
>> UNIX...).
>> Thanks.
>>
>> Bill Shipley
>>
>> ______________________________________________
>> 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.
>>
>> ______________________________________________
>> 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.
>>
> 
> ______________________________________________
> 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.

______________________________________________
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:31:44 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.