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:<jdnew...@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....@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@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. ______________________________________________ R-help@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.