Re: [R] how to change the current directory to my folder.

From: Peter Dalgaard <p.dalgaard_at_biostat.ku.dk>
Date: Mon 06 Jun 2005 - 16:45:11 EST

Dirk Eddelbuettel <edd@debian.org> writes:

> On 6 June 2005 at 10:58, luan_sheng wrote:
> | I want to th current folder is the specific folder when R start.It is
> | very boring to modify the current directory manually. How can I do it?
>
> The first answer to
>
> > RSiteSearch("change directory")
>
> tells you about setwd() and getwd().
>
> There *are* good help facilities available. Please use them.
>
> Hope this helps, Dirk

I think that's what the poster considers boring. On Windows, you can also (a) modify the properties of the startup icon and/or start menu entry (just change the "start in" field) or (b) save an R workspace (possibly an empty one) in the relevant directory and start R by double-clicking it.

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk)             FAX: (+45) 35327907

______________________________________________
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
Received on Mon Jun 06 16:52:47 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:32:22 EST