[Rd] Rscript and default packages

Duncan Murdoch murdoch at stats.uwo.ca
Thu Sep 3 17:23:51 CEST 2009


On 03/09/2009 9:53 AM, Romain Francois wrote:
> Hi,
> 
> Is is possible to embed inside an R script, the name of the default 
> packages to be loaded when the script is invoked with Rscript.
> 
> I know about the --default-packages argument, but I was wondering if 
> there was a mechanism to embed this information within the script itself


I don't understand what you'd want here that you don't get with attach() 
or require().  Why does it matter if they are default?

Duncan Murdoch



More information about the R-devel mailing list