[R] To load Add-ons

Roger Peng rpeng at stat.ucla.edu
Tue Mar 18 16:52:35 CET 2003


Look at ?Startup.  You might want to edit $R_HOME/etc/Rprofile.site, where
$R_HOME is the sitewide installation directory.

-roger
_______________________________
UCLA Department of Statistics
rpeng at stat.ucla.edu
http://www.stat.ucla.edu/~rpeng

On Tue, 18 Mar 2003, Katrin Braesel wrote:

> Dear R Help-Team,
> 
> If I start R and type in
> search()
> 
> the result is:
> [1] ".GlobalEnv"    "package:ctest" "Autoloads"     "package:base"
> 
> I often need an Add-on-package. I can load it with "> library(package)" or
> include a require-command in the .First-function. The .First-function is
> fine, if I always use the same working directory. But I don't. And I'm not
> the only one, who needs some Add-ons almost every time.
> Is it possible to change the .First-function global? Or is there a
> possibility to load a package by default for all users and independent from
> the working directory, like "package:ctest" and "package:base"?
> 
> With kind regards
> Katrin Braesel
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
>



More information about the R-help mailing list