search for: saveaction

Displaying 16 results from an estimated 16 matches for "saveaction".

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 = fals...
2020 Nov 23
2
.Internal(quit(...)): system call failed: Cannot allocate memory
The call to system() probably is an internal call used to delete the session's tempdir(). This sort of failure means that a potentially large amount of disk space is not being recovered when R is done. Perhaps R_CleanTempDir() could call R_unlink() instead of having a subprocess call 'rm -rf ...'. Then it could also issue a specific warning if it was impossible to delete all of
2020 Nov 24
2
.Internal(quit(...)): system call failed: Cannot allocate memory
On 11/24/20 11:27 AM, Jan Gorecki wrote: > Thanks Bill for checking that. > It was my impression that warnings are raised from some internal > system calls made when quitting R. At that point I don't have much > control over checking the return status of those. > Your suggestion looks good to me. > > Tomas, do you think this could help? could this be implemented? I think
2020 Nov 24
0
.Internal(quit(...)): system call failed: Cannot allocate memory
Thanks Bill for checking that. It was my impression that warnings are raised from some internal system calls made when quitting R. At that point I don't have much control over checking the return status of those. Your suggestion looks good to me. Tomas, do you think this could help? could this be implemented? On Mon, Nov 23, 2020 at 7:10 PM Bill Dunlap <williamwdunlap at gmail.com>
2020 Nov 25
1
[External] Re: .Internal(quit(...)): system call failed: Cannot allocate memory
On Tue, 24 Nov 2020, Jan Gorecki wrote: > As for other calls to system. I avoid calling system. In the past I > had some (to get memory stats from OS), but they were failing with > exactly the same issue. So yes, if I would add call to system before > calling quit, I believe it would fail with the same error. > At the same time I think (although I am not sure) that new allocations
2020 Nov 24
0
.Internal(quit(...)): system call failed: Cannot allocate memory
As for other calls to system. I avoid calling system. In the past I had some (to get memory stats from OS), but they were failing with exactly the same issue. So yes, if I would add call to system before calling quit, I believe it would fail with the same error. At the same time I think (although I am not sure) that new allocations made in R are working fine. So R seems to reserve some memory and
2025 Jan 15
1
Build error with gcc 15
Dear R Core, GCC 15 is already in Fedora rawhide, because it will be part of the next release, Fedora 42. R 4.4.2 fails to build with the following error [1]: > sys-std.c:1189:1: warning: ?noreturn? attribute ignored [-Wattributes] > 1189 | void Rstd_CleanUp(SA_TYPE saveact, int status, int runLast) > | ^~~~ > sys-std.c:1189:1: error: expected identifier or ?(? before ?void?
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
2025 Jan 15
1
Build error with gcc 15
On 15/01/2025 16:06, I?aki Ucar wrote: > Dear R Core, > > GCC 15 is already in Fedora rawhide, because it will be part of the next > release, Fedora 42. R 4.4.2 fails to build with the following error [1]: > >> sys-std.c:1189:1: warning: ?noreturn? attribute ignored [-Wattributes] >> 1189 | void Rstd_CleanUp(SA_TYPE saveact, int status, int runLast) >> |
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(); r_...
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 = R...
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
Hello, I've been using R embedded in PL/R (R procedural language handler for PostgreSQL, http://www.joeconway.com/plr/) very successfully for several months now. A sincere "thank you" goes to the R development team for such a great product. I have a question I'm hoping someone here can help me with. In order to get the required functionality out of PL/R, I've had to
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