[R] run setwd at the launch of R
John Kane
jrkrideau at yahoo.ca
Sun Jan 6 18:13:10 CET 2008
I have not tried this but once you know where the
(relatively permanent)working directory is then
putting setwd("my.directory") in your R.profile should
work'
--- "bunny , lautloscrew.com" <bunny at lautloscrew.com>
wrote:
> Dear all,
>
> my R files (and the .csv files as well) are saved
> somewhere pretty
> deep down my hard disk.
> i have to chage to working directory therefore
> everytime i run R (i
> run it on powerPC mac), which is disgusting.
> using the setwd command at the beginning of an R
> script doesnt really
> help because i have to find this file first by hand.
>
> I am looking for possibility to run setwd during the
> launch process
> of R are straight after it ... any suggestions ?
>
> i would be very glad about good ideas or help !
>
> thanks in advance
>
> matthias
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained,
> reproducible code.
>
More information about the R-help
mailing list