[R-SIG-Mac] Option '--no-save' seems to be ignored although in .bash_profile and other files

Marius Hofert marius.hofert at uwaterloo.ca
Thu Oct 8 00:32:52 CEST 2015


Hi David,

... good point, that solved it!

Thanks & cheers,
Marius

On Wed, Oct 7, 2015 at 7:19 PM, David Winsemius <dwinsemius at comcast.net> wrote:
>
> 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