Skip to content
Prev 35720 / 63424 Next

Stop packages and datasets to be loaded on startup.

Hi.

I would like to know how to start an embedded R session, and avoid 
datasets and the standard library packages to be loaded on startup.

I've been looking at littler's code (so this is partly a question to 
Dirk Eddelbuettel...):
The code above happens before Rf_initEmbeddedR in littler.

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?

All the best,