[R] R init file and source()

Allin Cottrell cottrell at wfu.edu
Tue Aug 5 15:26:01 CEST 2008


On Tue, 5 Aug 2008, Prof Brian Ripley wrote:

> This relates to the order of things being done.  See ?Startup.
> 
> Note that the default packages are not loaded until after the 
> Rprofile file has been run, and postscript() is in package 
> grDevices, not in graphics. Using grDevices::postscript will 
> always work.

Thanks, that does it.

> 
> On Mon, 4 Aug 2008, Allin Cottrell wrote:
> 
> > In the context of calling R from another program (namely gretl,
> > http://gretl.sourceforge.net ) I'm trying to understand the
> > interactions of the R init file (corresponding to the environment
> > variable RPROFILE) and the source() function...

-- 
Allin Cottrell
Department of Economics
Wake Forest University, NC



More information about the R-help mailing list