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 _______________________________________________ R-SIG-Mac mailing list R-SIG-Mac@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac