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?
how to change the current directory to my folder.
3 messages · luan_sheng, Dirk Eddelbuettel, Peter Dalgaard
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
Statistics: The (futile) attempt to offer certainty about uncertainty.
-- Roger Koenker, 'Dictionary of Received Ideas of Statistics'
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 double-clicking it.
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