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
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<
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
.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
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
5 matches
Mail list logo