From murdoch at stats.uwo.ca  Thu Sep  3 17:23:51 2009
From: murdoch at stats.uwo.ca (Duncan Murdoch)
Date: Thu, 03 Sep 2009 11:23:51 -0400
Subject: [Rd] Rscript and default packages
In-Reply-To: <4A9FCA3E.7090501@dbmail.com>
References: <4A9FCA3E.7090501@dbmail.com>
Message-ID: <4A9FDF87.4000801@stats.uwo.ca>

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



[Rd] Rscript and default packages
Duncan Murdoch