Re: [R] Change working directory

2009-11-14 Thread Gabor Grothendieck
On Fri, Nov 13, 2009 at 6:24 PM, Don MacQueen wrote: > In R for Macintosh, there is a Preferences setting that will do this. > You can also drag and drop a file onto the R icon and I believe it will > change the working directory to the directory that contains the file. > > On unix-like systems, u

Re: [R] Change working directory

2009-11-14 Thread Jim Lemon
anna_l wrote: Hello, I am using setwd() to change the working directory but I have to enter it everytime I open R, is there a way to set this permanently as a working directory? Thanx =^D Hi Anna, I create a .First function that is run when the session starts that looks like this: .First<

Re: [R] Change working directory

2009-11-13 Thread Don MacQueen
In R for Macintosh, there is a Preferences setting that will do this. You can also drag and drop a file onto the R icon and I believe it will change the working directory to the directory that contains the file. On unix-like systems, using the command line, it's whatever directory you start R

Re: [R] Change working directory

2009-11-13 Thread stephen sefick
.Rprofile is executed everytime you start up R On Fri, Nov 13, 2009 at 8:34 AM, anna_l wrote: > > Hello, I am using setwd() to change the working directory but I have to enter > it everytime I open R, is there a way to set this permanently as a working > directory? Thanx =^D > > -- > View this me

[R] Change working directory

2009-11-13 Thread anna_l
Hello, I am using setwd() to change the working directory but I have to enter it everytime I open R, is there a way to set this permanently as a working directory? Thanx =^D -- View this message in context: http://old.nabble.com/Change-working-directory-tp26337486p26337486.html Sent from the R