Andreas Maunz
2008-Mar-03 08:19 UTC
[R] Fatal error: you must specify '--save', '--no-save' or '--vanilla'
Hi, I get the above error when starting my program with rake (ruby make) instead of manual startup (which works as expected). It happens on R initialization with "REmbeddedPostgres --gui=none --silent" as arguments (this is part of my way of embedding R in a C application using libR.so). Any help would be appreciated! Greetings, Andreas -- http://www.maunz.de Yoda of Borg are we: Futile is resistance. Assimilate you, we will.
Uwe Ligges
2008-Mar-03 09:49 UTC
[R] Fatal error: you must specify '--save', '--no-save' or '--vanilla'
Andreas Maunz wrote:> Hi, I get the above error when starting my program with rake (ruby make) > instead of manual startup (which works as expected). > It happens on R initialization with "REmbeddedPostgres --gui=none > --silent" as arguments (this is part of my way of embedding R in a C > application using libR.so). Any help would be appreciated!So you have not tried to add one of the mentioned flags? Uwe Ligges> Greetings, > Andreas >
Duncan Murdoch
2008-Mar-03 11:27 UTC
[R] Fatal error: you must specify '--save', '--no-save' or '--vanilla'
Andreas Maunz wrote:> Hi, I get the above error when starting my program with rake (ruby make) > instead of manual startup (which works as expected). > It happens on R initialization with "REmbeddedPostgres --gui=none > --silent" as arguments (this is part of my way of embedding R in a C > application using libR.so). Any help would be appreciated! >That message means that R thinks it is being run non-interactively, which sounds appropriate in your case. Choose one of the options. You'll also inappropriately get the message when running R in some shells that don't look like consoles to R. Then the right solution is to use --ess (which tells R that despite what it sees, it really is being run interactively.)> > So you have not tried to add one of the mentioned flags? > > > I did, actually! ;-) > Increasing the options to "REmbeddedPostgres --no-save --gui=none > --silent" results in the following: > > Error: syntax error in: > "ironment <- function () .Internal(environment(NULL)) > mkenv <- function() .Internal(new.env(TRUE, baseenv(), 29L"That's because you're using an obsolete version of R, that doesn't support the integer constant 29L. Duncan Murdoch
Reasonably Related Threads
- [Fwd: Re: Fatal error: you must specify '--save', '--no-save' or '--vanilla']
- kernlab and gram matrix
- Running R embedded in an mpiexec spawned process - Fatal error: you must specify '--save', '--no-save' or '--vanilla'
- About building R1.6.1 on Cygwin
- How to change the default library directory?