Rscript is very handy. But I'd like to specify output paths at runtime, e.g.: my.Rscript input > output
.
message()
is great for logging to STDERR, but Rscript seems to systematically output WARNING: ignoring environment value of R_HOME
to STDOUT, even if specifying --vanilla
or --no-environ
.
Any workarounds?
(this is R scripting front-end version 2.13.0 (2011-04-13))
R_HOME
? I get this error message when I runR RHOME
, and it's using/usr/lib/R
instead of/home/mohawkjohn/R
(which I specified in my.bashrc
).