Re: [R] libraries in .First

2003-06-04 Thread Prof Brian Ripley
If this is R 1.7.0, the preferred mechanism is options("defaultPackages"), as in the following (from the examples in .First) # Example of Rprofile.site local({ old <- getOption("defaultPackages") options(defaultPackages = c(old, "MASS")) }) .First is run too early to

[R] libraries in .First

2003-06-04 Thread Laurie Sindlinger
Dear all, I have a question regarding the .First function. I have included help.start() and several libraries in my .First as: .First <- function() { help.start(browser = "netscape7") library(lattice) library(modreg) library(splines) library(MASS) library(maps)} The libraries maps and splines