search for: r_dot_last

Displaying 4 results from an estimated 4 matches for "r_dot_last".

2010 Sep 09
0
calling Rf_initEmbeddedR error
..., 3)); fun = findFun(install("hreg"), R_GlobalEnv); if(fun == R_NilValue) // -----> success { UNPROTECT(1); throw std::range_error("R Function not found"); } SETCAR(e, fun); UNPROTECT(1); // End R R_dot_Last(); Rf_endEmbeddedR(0); R_gc(); ///////////////////////////// // Init R(second) Rf_initEmbeddedR(Argc2, Argv2); // R package load e = R_NilValue; r = R_NilValue; PROTECT(e = lang2(install("source"), mkString("hbnreg.R"))); r =...
2009 Mar 05
0
calling Rf_initEmbeddedR twice gives an error
...r: unable to restore saved data in .RData I've recognized that there were others with that problem - which is marked user error here http://bugs.r-project.org/cgi-bin/R/trashcan?id=12644;user=guest;selectid=12644 Unfortunately it is nowhere stated what one should have called... Any of R_dot_Last(); R_RunExitFinalizers(); R_gc(); does not help either... However I can trigger the problem on the R cmdline when I do: .Call("R_isMethodsDispatchOn", 1,2, PACKAGE = "base") : also looking at src/main/registration.c I don't see a reason why it should be wrong:...
2000 Mar 16
2
R-1.0.0 on alpha/osf1 memory glitch (PR#490)
Digital Alpha (various), Digital UNIX V4.0[EF], R-1.0.0, gcc, f77 When using batch mode with the save option, an error message is issued. However [I have just discovered that] it appears that the operation does complete, i.e. the .RData file is saved successfully. The main problem is that the return code is non-zero (and so it is impossible to distinguish this "non-error" from some
2011 Mar 08
3
How to disable R's crash prompt
Dear R devel, I have a C++ app that calls into embedded R to perform some analytic calculations. When my app encounters a segmentation fault, R always prints the following crash prompt and asks me to enter an action: *** caught segfault *** address 0x8, cause 'memory not mapped' Possible actions: 1: abort (with core dump, if enabled) 2: normal R exit 3: exit R without saving workspace