Hi all, Could you please tell me how do I modify the environment variable (as below), from within R session? LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/mypath export LD_LIBRARY_PATH Thanks a lot! [[alternative HTML version deleted]]
Jeff Newmiller
2012-May-27 02:47 UTC
[R] How do I modify sytem shell environment from within R?
You don't, at least not for building libraries. Do it at the command line before you invoke the R commands. If you are using Cygwin, then be sure to use the Bash shell export command to set the variables. --------------------------------------------------------------------------- Jeff Newmiller The ..... ..... Go Live... DCN:<jdnewmil at dcn.davis.ca.us> Basics: ##.#. ##.#. Live Go... Live: OO#.. Dead: OO#.. Playing Research Engineer (Solar/Batteries O.O#. #.O#. with /Software/Embedded Controllers) .OO#. .OO#. rocks...1k --------------------------------------------------------------------------- Sent from my phone. Please excuse my brevity. Michael <comtech.usa at gmail.com> wrote:>Hi all, > >Could you please tell me how do I modify the environment variable (as >below), from within R session? > >LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/mypath >export LD_LIBRARY_PATH > >Thanks a lot! > > [[alternative HTML version deleted]] > >______________________________________________ >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.
Maybe Matching Threads
- mergeing a large number of large .csvs
- Is there a way to save EVERYTHING in R?
- SOS! R Console crashed after loading RODBC... Update: Re: How to set up RODBC? Diff between R Console and RStudio?
- RStudio: copied line is always not the same as the line that I highlighted
- free memory in large list?