[R] Available environment variables

From: Thompson, David (MNR) <David.John.Thompson_at_ontario.ca>
Date: Thu, 20 Dec 2007 14:13:45 -0500


Hello,

I am trying to set my environment to streamline the downloading / updating of packages. I have been through R-intro.html (10.8 Customizing-the-environment), R-FAQ (5.2 How can add-on packages be installed?), rw-FAQ, and help pages for Sys.setenv {base}, download.packages {utils}, etc.,.

I am looking for something similar to the download.packages destdir argument on a global environment level, e.g., destdir <- 'C:/Program Files/_dave/stats/R/library/_download' in Rprofile.site. Any suggestions?

Also, in a more general context, is there a way of listing all available (or common, or default, or standard, . . .) environment variables? I would like to know if there is an existing convention for any arbitrary process that I may try to do without reinventing the wheel. This same question could apply to options() other than those included with a standard installation.

Thanks, DaveT.



Silviculture Data Analyst
Ontario Forest Research Institute
Ontario Ministry of Natural Resources
david.john.thompson_at_ontario.ca
http://ofri.mnr.gov.on.ca

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. Received on Thu 20 Dec 2007 - 19:18:49 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 20 Dec 2007 - 20:30:20 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.