Displaying 15 results from an estimated 15 matches for "sa_nosav".
Did you mean:
sa_nosave
2013 Nov 21
2
Running R embedded in an mpiexec spawned process - Fatal error: you must specify '--save', '--no-save' or '--vanilla'
...rEngine.Initialize(rStartParams); // calls the R API R_SetParams, then setup_Rmainloop
I gather that the following is hit in src/R-3.0.2/src/unix/system.c, in the function Rf_initialize_R:
if (!R_Interactive && Rp->SaveAction != SA_SAVE &&
Rp->SaveAction != SA_NOSAVE)
R_Suicide(_("you must specify '--save', '--no-save' or '--vanilla'"));
I don't understand why it would complain if spawned by mpiexec and fine otherwise.
I do not have a suitable debugging environment to step through a R with debug symbols, and no stack t...
2020 Nov 23
2
.Internal(quit(...)): system call failed: Cannot allocate memory
...-Rf
/tmp/RtmppoKPXb") at sysutils.c:311
#1 0x00005555557c30ec in R_CleanTempDir () at sys-std.c:1178
#2 0x00005555557c31d7 in Rstd_CleanUp (saveact=<optimized out>, status=0,
runLast=<optimized out>) at sys-std.c:1243
#3 0x00005555557c593d in R_CleanUp (saveact=saveact at entry=SA_NOSAVE,
status=status at entry=0, runLast=<optimized out>) at system.c:87
#4 0x00005555556cc85e in do_quit (call=<optimized out>, op=<optimized
out>, args=0x555557813f90, rho=<optimized out>) at main.c:1393
-Bill
On Mon, Nov 23, 2020 at 3:15 AM Tomas Kalibera <tomas.kalibera...
2008 Mar 19
1
R_ParseVector problem: it's cutting off after the decimal point
...sNoCancel;
// on R state changed: busy(=1)/idle(=0)
Rp->Busy = myBusy;
Rp->home = getRUser();
// R-Settings...
Rp->R_Quiet = (Rboolean)FALSE;
Rp->R_Interactive = (Rboolean)TRUE;
Rp->RestoreAction = SA_RESTORE;
Rp->SaveAction = SA_NOSAVE;
// our parameters
R_SetParams(Rp);
R_set_command_line_arguments(0, NULL);
GA_initapp(0, NULL);
readconsolecfg();
/// run_Rmainloop() starting in a different thread
2009 Jan 08
1
Callbacks seems to get GCed.
...quot;,
"--no-save"};
int argc = 4;
DllInfo *info;
setenv("R_HOME","/usr/lib/R",0);
structRstart rp;
Rstart Rp = &rp;
R_setStartTime();
R_DefParams(Rp);
Rp->R_Quiet = TRUE;
Rp->RestoreAction = SA_RESTORE;
Rp->SaveAction = SA_NOSAVE;
R_SetParams(Rp);
R_Interactive = TRUE;
Rf_initialize_R(argc, argv);
setup_Rmainloop();
R_ReplDLLinit();
info = R_getEmbeddingDllInfo();
R_registerRoutines(info, cMethods, callMethods, NULL, NULL);
}
int main (int argc, char** argv)
{
int i;
initR();
r_exec("...
2020 Nov 24
2
.Internal(quit(...)): system call failed: Cannot allocate memory
...at sysutils.c:311
>> #1 0x00005555557c30ec in R_CleanTempDir () at sys-std.c:1178
>> #2 0x00005555557c31d7 in Rstd_CleanUp (saveact=<optimized out>, status=0, runLast=<optimized out>) at sys-std.c:1243
>> #3 0x00005555557c593d in R_CleanUp (saveact=saveact at entry=SA_NOSAVE, status=status at entry=0, runLast=<optimized out>) at system.c:87
>> #4 0x00005555556cc85e in do_quit (call=<optimized out>, op=<optimized out>, args=0x555557813f90, rho=<optimized out>) at main.c:1393
>>
>> -Bill
>>
>> On Mon, Nov 23, 2020 a...
2006 Nov 27
1
R.DLL mapping by P/Invoke
...PARSE_NULL,
PARSE_OK,
PARSE_INCOMPLETE,
PARSE_ERROR,
PARSE_EOF
};
enum SaType
{
SA_NORESTORE = 0,/* = 0 */
SA_RESTORE,
SA_DEFAULT,/* was === SA_RESTORE */
SA_NOSAVE,
SA_SAVE,
SA_SAVEASK,
SA_SUICIDE
};
enum RBool
{
RFalse = 0,
RTrue
};
enum RYesNoCancel
{
Yes = 1,
No = -1,
Cancel = 0
};
enum RUIMode...
2012 Aug 20
0
Problem with initializiing R main loop under Windows (R.dll-version: 2.15.1)
...tRstart RParams;
R_DefParams (&RParams);
RParams.R_Quiet = FALSE; //
RParams.R_Interactive = TRUE;
RParams.R_Verbose = FALSE;
RParams.R_Slave = FALSE;
RParams.RestoreAction = SA_RESTORE;
RParams.SaveAction = SA_NOSAVE;
RParams.rhome = get_R_HOME ();
RParams.home = getRUser ();
RParams.CharacterMode = LinkDLL; // RGui;
RParams.ShowMessage = RShowMessage;
RParams.ReadConsole = RReadConsoleWin;
RParams.WriteConsoleEx = RWriteConsoleEx;...
2002 Aug 22
0
R_Interactive decision to halt execution during errors
...may have
seen me on the help list), and I'm running into something that is rather
confusing. The following lines in main/errors.c of R 1.5.1:
439: if ( !R_Interactive && !haveHandler && inError ) {
440: REprintf("Execution halted\n");
441: R_CleanUp(SA_NOSAVE, 1, 0); /* quit, no save, no .Last, status=1
*/
442: }
Which seems to not make any sense at all. I've scoured the code and can't
figure out what the rationale is for halting execution simply because the
input is not interactive. I'm assuming the rationale was that, if input is
n...
2020 Nov 24
0
.Internal(quit(...)): system call failed: Cannot allocate memory
...oKPXb") at sysutils.c:311
> #1 0x00005555557c30ec in R_CleanTempDir () at sys-std.c:1178
> #2 0x00005555557c31d7 in Rstd_CleanUp (saveact=<optimized out>, status=0, runLast=<optimized out>) at sys-std.c:1243
> #3 0x00005555557c593d in R_CleanUp (saveact=saveact at entry=SA_NOSAVE, status=status at entry=0, runLast=<optimized out>) at system.c:87
> #4 0x00005555556cc85e in do_quit (call=<optimized out>, op=<optimized out>, args=0x555557813f90, rho=<optimized out>) at main.c:1393
>
> -Bill
>
> On Mon, Nov 23, 2020 at 3:15 AM Tomas Kali...
2007 Oct 17
0
Using R.dll in .NET IPC
...PARSE_NULL,
PARSE_OK,
PARSE_INCOMPLETE,
PARSE_ERROR,
PARSE_EOF
};
enum SaType
{
SA_NORESTORE = 0,/* = 0 */
SA_RESTORE,
SA_DEFAULT,/* was === SA_RESTORE */
SA_NOSAVE,
SA_SAVE,
SA_SAVEASK,
SA_SUICIDE
};
enum RBool
{
RFalse = 0,
RTrue
};
enum RYesNoCancel
{
Yes = 1,
No = -1,
Cancel = 0
};
enum RUIMode...
2003 Aug 24
1
declarations in non-exported headers and embedding R
...-----------------------------------------------
from non-exported header file ${R_HOME}/src/include/Startup.h
-------------------------------------------------------------
/* Startup Actions */
typedef enum {
SA_NORESTORE,/* = 0 */
SA_RESTORE,
SA_DEFAULT,/* was === SA_RESTORE */
SA_NOSAVE,
SA_SAVE,
SA_SAVEASK,
SA_SUICIDE
} SA_TYPE;
-------------------------------------------------------------
from non-exported header file ${R_HOME}/src/unix/Runix.h
-------------------------------------------------------------
extern void Rstd_CleanUp(SA_TYPE saveact, int status, int...
2020 Nov 25
1
[External] Re: .Internal(quit(...)): system call failed: Cannot allocate memory
...gt;>> #1 0x00005555557c30ec in R_CleanTempDir () at sys-std.c:1178
>>>> #2 0x00005555557c31d7 in Rstd_CleanUp (saveact=<optimized out>, status=0, runLast=<optimized out>) at sys-std.c:1243
>>>> #3 0x00005555557c593d in R_CleanUp (saveact=saveact at entry=SA_NOSAVE, status=status at entry=0, runLast=<optimized out>) at system.c:87
>>>> #4 0x00005555556cc85e in do_quit (call=<optimized out>, op=<optimized out>, args=0x555557813f90, rho=<optimized out>) at main.c:1393
>>>>
>>>> -Bill
>>>>...
2020 Nov 24
0
.Internal(quit(...)): system call failed: Cannot allocate memory
...311
> >> #1 0x00005555557c30ec in R_CleanTempDir () at sys-std.c:1178
> >> #2 0x00005555557c31d7 in Rstd_CleanUp (saveact=<optimized out>, status=0, runLast=<optimized out>) at sys-std.c:1243
> >> #3 0x00005555557c593d in R_CleanUp (saveact=saveact at entry=SA_NOSAVE, status=status at entry=0, runLast=<optimized out>) at system.c:87
> >> #4 0x00005555556cc85e in do_quit (call=<optimized out>, op=<optimized out>, args=0x555557813f90, rho=<optimized out>) at main.c:1393
> >>
> >> -Bill
> >>
> >&g...
2003 Jul 16
2
Fatal error in SJava.
Dear r-helpers,
I have been trying to invoke R from Java in a Windows 2000 computer
(unfortunately). All my environment variables seem to be properly set,
everything seems to be in order, but I obtaining a
Fatal error: unable to open the base package
error window.
Also, the output of the invoker is
Loading RInterpreter library
R_HOME: R_HOME=C:/Programas/R
RVersion: R_VERSION=1.6.1
whereas
2020 Nov 21
4
.Internal(quit(...)): system call failed: Cannot allocate memory
Dear R-developers,
Some of the more fat scripts (50+ GB mem used by R) that I am running,
when they finish they do quit with q("no", status=0)
Quite often it happens that there is an extra stderr output produced
at the very end which looks like this:
Warning message:
In .Internal(quit(save, status, runLast)) :
system call failed: Cannot allocate memory
Is there any way to avoid this