[Rd] Recommended way to change defaultPackages under Windows

David Brahm brahm at alum.mit.edu
Tue Jul 29 14:06:34 MEST 2003


Douglas Bates <bates at stat.wisc.edu> wrote:
> options(defaultPackages = c(options("defaultPackages"), "Devore6"))

Just to pick a nit, shouldn't this be:

  options(defaultPackages = c(getOption("defaultPackages"), "Devore6"))

since options("defaultPackages") returns a one-component list, not a vector?
-- 
                              -- David Brahm (brahm at alum.mit.edu)



More information about the R-devel mailing list