[Rd] Recommended way to change defaultPackages under Windows

Kurt Hornik hornik at ci.tuwien.ac.at
Wed Jul 30 11:45:30 MEST 2003


>>>>> David Brahm writes:

> 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)

Either that, or options()$defaultPackages.

-k



More information about the R-devel mailing list