[R] how to change the current directory to my folder.
p.dalgaard at biostat.ku.dk
Mon Jun 6 08:45:11 CEST 2005
Dirk Eddelbuettel <edd at 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
O__ ---- Peter Dalgaard Blegdamsvej 3
c/ /'_ --- Dept. of Biostatistics 2200 Cph. N
(*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907
More information about the R-help