[Rd] Stop packages and datasets to be loaded on startup.

Simon Urbanek simon.urbanek at r-project.org
Sun Jan 31 19:07:15 CET 2010


On Jan 31, 2010, at 12:39 PM, Guillaume Yziquel wrote:

> Simon Urbanek a écrit :
>>> 
>>> So I gather that just setting R_DEFAULT_PACKAGES to NULL should be OK. But then, what is the rather complicated stuff in the autoload() function in littler.c for?
>>> 
>>> And concerning datasets, how do you avoid loading them?
>>> 
>> Setting R_DEFAULT_PACKAGES to NULL makes sure that default packages are not loaded. Note that "datasets" are not loaded at all -- you can load the datasets package which will make them available, but they are not really "loaded". The minimal setup is simply
>> R_DEFAULT_PACKAGES=NULL R --vanilla
>> However, it's your responsibility to load any packages that your code needs in that case.
>> Cheers,
>> Simon
> 
> OK. Thanks. Just one more question concerning package base. It seems that setting R_DEFAULT_PACKAGES to NULL doesn't remove the base package. Is the base package removable?
> 

No, because base is R itself.

Cheers,
Simon



More information about the R-devel mailing list