Dear Uwe,
Thanks for you suggestion. I should have spotted that (not thinking
about the order of commands properly). I still don't know why it failed
to work in RGui for me. It works now. I suspect it must be another
case of PEBCAK (Problem Exists Between Chair And Keyboard).
Best wishes,
Cormac.
Works for me in R-patched:
I guess your problem is that you have to set the options() before
source()ing.
Best,
Uwe Ligges
On 17.08.2011 10:31, Cormac Long wrote:
Good morning R-help,
I have an idiot question: I would like to use getSrcDirectory()
and friends to allow me to identify wher
Good morning R-help,
I have an idiot question: I would like to use getSrcDirectory()
and friends to allow me to identify where an R file has been
called from when invoked using Rscript. If I understand the
documentation correctly, the following example should work:
In file test.R:
options(keep
3 matches
Mail list logo