[R-SIG-Mac] Option '--no-save' seems to be ignored although in .bash_profile and other files
David Winsemius
dwinsemius at comcast.net
Wed Oct 7 19:19:14 CEST 2015
On Oct 7, 2015, at 8:20 AM, Marius Hofert wrote:
> Hi Duncan,
>
> thanks, here is the info:
> - "alias R" shows alias R='/usr/local/bin/R --no-restore-history --no-save'
> - I start R in batch mode via "R CMD batch..."
> Batch mode must be the problem then. If I start R via "R", everything
> works as expected... So how can I teach R in batch mode to respect the
> two options?
Shouldn't you be setting R_BATCH_OPTIONS. See ?BATCH
That page says:
"The default options are --restore --save --no-readline. "
--
David Winsemius
Alameda, CA, USA
More information about the R-SIG-Mac
mailing list