Displaying 14 results from an estimated 14 matches for "saveact".
2013 Nov 21
2
Running R embedded in an mpiexec spawned process - Fatal error: you must specify '--save', '--no-save' or '--vanilla'
...R --no-save
However in my Sample1 application, I do set up R init options that should be suitable AFAIK:
rEngine = REngine.CreateInstance("RDotNet");
StartupParameter rStartParams = new StartupParameter
{
Quiet = true,
SaveAction = StartupSaveAction.NoSave,
Slave = false,
Interactive = true,
Verbose = false,
LoadInitFile = true,
LoadSiteFile = true,
RestoreAction = StartupRestoreAction.NoRestore,
NoRenviron = f...
2020 Nov 23
2
.Internal(quit(...)): system call failed: Cannot allocate memory
...x7fffffffa1e0 "rm -Rf
/tmp/RtmppoKPXb") at sysutils.c:311
311 {
(gdb) where
#0 R_system (command=command at entry=0x7fffffffa1e0 "rm -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=<op...
2020 Nov 24
2
.Internal(quit(...)): system call failed: Cannot allocate memory
...ot;) at sysutils.c:311
>> 311 {
>> (gdb) where
>> #0 R_system (command=command at entry=0x7fffffffa1e0 "rm -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...
2020 Nov 24
0
.Internal(quit(...)): system call failed: Cannot allocate memory
...f /tmp/RtmppoKPXb") at sysutils.c:311
> 311 {
> (gdb) where
> #0 R_system (command=command at entry=0x7fffffffa1e0 "rm -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>,...
2020 Nov 25
1
[External] Re: .Internal(quit(...)): system call failed: Cannot allocate memory
...311 {
>>>> (gdb) where
>>>> #0 R_system (command=command at entry=0x7fffffffa1e0 "rm -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 (cal...
2020 Nov 24
0
.Internal(quit(...)): system call failed: Cannot allocate memory
...t; >> 311 {
> >> (gdb) where
> >> #0 R_system (command=command at entry=0x7fffffffa1e0 "rm -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=<...
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
2008 Mar 19
1
R_ParseVector problem: it's cutting off after the decimal point
...t;YesNoCancel = myYesNoCancel;
// 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.
...uot;--silent",
"--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();...
2006 Nov 27
1
R.DLL mapping by P/Invoke
...iet;
public RBool R_Slave;
public RBool R_Interactive;
public RBool R_Verbose;
public RBool LoadSiteFile;
public RBool LoadInitFile;
public RBool DebugInitFile;
public SaType RestoreAction;
public SaType SaveAction;
public uint vsize;
public uint nsize;
public uint max_vsize;
public uint max_nsize;
public uint ppsize;
public int NoRenviron;
//!! Warning - R will keep theses pointers. See gnuwin32\system.c (line 638)...
2012 Aug 20
0
Problem with initializiing R main loop under Windows (R.dll-version: 2.15.1)
...ct
structRstart 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...
2007 Oct 17
0
Using R.dll in .NET IPC
...iet;
public RBool R_Slave;
public RBool R_Interactive;
public RBool R_Verbose;
public RBool LoadSiteFile;
public RBool LoadInitFile;
public RBool DebugInitFile;
public SaType RestoreAction;
public SaType SaveAction;
public uint vsize;
public uint nsize;
public uint max_vsize;
public uint max_nsize;
public uint ppsize;
public int NoRenviron;
//!! Warning - R will keep theses pointers. See gnuwin32\system.c (line 638)...
2003 Aug 24
1
declarations in non-exported headers and embedding R
..._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 runLast);
Use:
-------------
When the PostgreSQL backend process exits, Rstd_CleanUp() is called via
registered onexit callback so that the embedded R interpreter can clean
up (e.g. to remove the created Rtmp[pid] directory).
Note:
-------------
Similar use found in ${R_HOME}/t...
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