On Mon, 4 Aug 2008, Allin Cottrell wrote (in response to John
Frain)
Ah, so source() works OK unless called from the init file (the one
set via the RPROFILE environment variable)?
The mysterious thing is that the source() mechanism, as called via
the init file, _does_ work to some extent -- it just seems to be
partially brain-damaged, in that, e.g., library(graphics) does not
make the postscript() function available.
Thinks: what if we try loading the graphics library "up front", in
the init file itself?
Just tried that: moved "library(graphics)" into the init file
written by gretl, so that the library should be pre-loaded by the
time Rsrc, which calls the postscript() function, is read.
It didn't help, the message is still:
Error in eval.with.vis(expr, envir, enclos) :
could not find function "postscript"
Allin