On Mon, 4 Aug 2008, John C Frain wrote:
Sorry I added the postscript and dev.off commands in the
interactive R session generated by GRETL. I have the same
problem when I try to run the script from R. Like Allin I can
not see what is wrong. It is almost right. If I start R and
generate an interactive session as follows...
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?
Allin.