[R] Available environment variables

Thompson, David (MNR)
Thu, 20 Dec 2007 19:13:45 -0000

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