[R] Add permanently environment variable

Anna Lippel lippelanna21 at hotmail.com
Fri Jul 15 22:45:02 CEST 2011


Hello everyone, I know how to add a folder path to my EV path but it only
works for the current R session. Is there a way to add it permanently? Here
is my code:
Sys.setenv(PATH=paste("C:\\Program Files\\Java\\jre1.6.0_13\\bin;",
Sys.getenv(x="PATH"), sep=""))
Thanks a lot!

--
View this message in context: http://r.789695.n4.nabble.com/Add-permanently-environment-variable-tp3670920p3670920.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list