Skip to content
Prev 7934 / 398503 Next

unix

RB> Both yes and no - I don't think you can change the working directory,
RB> because system() runs a shell process to termination:
RB> /home/rsb
RB> /home/rsb
RB> /home/rsb/tmp
RB> /home/rsb

RB> Is there a way to do this too?


Sure, using setwd():
/home/Leisch/bin
NULL
/tmp

best,
.f
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._