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? Cheers, Marius
Option '--no-save' seems to be ignored although in .bash_profile and other files
2 messages · Marius Hofert, David Winsemius
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