search for: r_gc

Displaying 11 results from an estimated 11 matches for "r_gc".

Did you mean: _gc
2008 Jul 20
1
garbage collection, "preserved" variables, and different outcome depending on "--verbose" or not
...erve it" * 2- make call "list(x)" * 3- return "x" to R */ SEXP x_R; int i; int n = INTEGER(n_R)[0]; /* Create a numerical vector "x_R" */ for (i=0; i<n; i++) { x_R = createObject(); R_ReleaseObject(x_R); printObject(x_R); R_gc(); } x_R = createObject(); printObject(x_R); R_gc(); R_ReleaseObject(x_R); Rprintf("Returning 'x' at %p\n", x_R); Rprintf(" (first element is %d)\n", REAL(x_R)[0]); return x_R; }
2010 Sep 09
0
calling Rf_initEmbeddedR error
...quot;), 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 = R_tryEval(e, R_GlobalEnv, NULL);...
2013 Jan 04
1
Integrating Java, C++ and R
...s been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x00007f9e6974ba8e, pid=5891, tid=140319087077120 # # JRE version: 6.0_31-b05 # Java VM: Java HotSpot(TM) 64-Bit Server VM (20.6-b01 mixed mode linux-amd64 compressed oops) # Problematic frame: # C [libR.so+0x11aa8e] R_gc+0x9e -------------------------------------------------------------------------------------------- The error log is : Current thread (0x00007f9e90006800): JavaThread "main" [_thread_in_native, id=5892, stack(0x00007f9e95472000,0x00007f9e95573000)] siginfo:si_signo=SIGSEGV: si_errno=...
2018 Aug 06
2
SIGSEGV in R_RunWeakRefFinalizer, object allocated with Rcpp
...essage("This is not printed") ``` This is the backtrace I get with R 3.5.1: #0 0x61ec4fd0 in ?? () #1 0x6ca1cafc in R_RunWeakRefFinalizer (w=0xc786a98) at memory.c:1393 #2 0x6ca1cdba in RunFinalizers () at memory.c:1459 #3 0x6ca1d024 in R_RunPendingFinalizers () at memory.c:1495 #4 R_gc () at memory.c:2893 #5 do_gc (call=0x1d45b88, op=0x15241d0, args=0x1d454b8, rho=0x1d45318) at memory.c:2013 #6 0x6c9db60f in bcEval (body=body at entry=0x1d45a88, rho=rho at entry=0x1d45318, useCache=useCache at entry=TRUE) at eval.c:6781 #7 0x6c9ecfb2 in Rf_eval (e=0x1d45a88, rho=0x1d45318)...
2009 Mar 05
0
calling Rf_initEmbeddedR twice gives an error
...'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: CALLDEF(R_isMethodsDispatchOn, 1)......
2011 Oct 05
1
Moderating consequences of garbage collection when in C
...haracters each; a simplified illustration understating the effects (because there is initially little to garbage collect, in contrast to an R session with several packages loaded) is below. A simple solution is to provide a mechanism for the C programmer to request sufficient memory in advance. R_gc_needed might also be re-used at two other locations in memory.c (2221 and 2361) and could be exposed at the R level via a new argument, with default 0, to gc(). %> time R --vanilla -e "dyn.load('gc.so'); x = .Call('doit', 1000000, FALSE)" > dyn.load('gc.so&...
2011 Jun 09
5
ultrasecure sshd server
Hi, How to configure sshd to required both ssh public key and user password also? yes, stupid, but required on my setup.. -- Eero
2018 Aug 09
0
SIGSEGV in R_RunWeakRefFinalizer, object allocated with Rcpp
...; ``` > > This is the backtrace I get with R 3.5.1: > > #0 0x61ec4fd0 in ?? () > #1 0x6ca1cafc in R_RunWeakRefFinalizer (w=0xc786a98) at memory.c:1393 > #2 0x6ca1cdba in RunFinalizers () at memory.c:1459 > #3 0x6ca1d024 in R_RunPendingFinalizers () at memory.c:1495 > #4 R_gc () at memory.c:2893 > #5 do_gc (call=0x1d45b88, op=0x15241d0, args=0x1d454b8, > rho=0x1d45318) at memory.c:2013 > #6 0x6c9db60f in bcEval (body=body at entry=0x1d45a88, > rho=rho at entry=0x1d45318, useCache=useCache at entry=TRUE) > at eval.c:6781 > #7 0x6c9ecfb2 in Rf_ev...
2012 Sep 13
10
access key error
I am getting following error while run my rails app in my server ActionView::Template::Error (You did not provide both required access keys. Please provide the access_key_id and the secret_access_key.): -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to
2017 Sep 28
1
R 3.4.2 is released
...er segfaults for n <- 2.2e9 (on a platform with enough RAM). * x <- 1:2; tapply(x, list(x, x), function(x) "")[1,2] now correctly returns NA. (PR#17333) * Running of finalizers after explicit GC request moved from the R interface do_gc to the C interface R_gc. This helps with reclaiming inaccessible connections. * help.search(topic) and ??topic matching topics in vignettes with multiple file name extensions (e.g., *.md.rsp but not *.Rmd) failed with an error when using options(help_type = "html"). * The X11 device...
2017 Sep 28
1
R 3.4.2 is released
...er segfaults for n <- 2.2e9 (on a platform with enough RAM). * x <- 1:2; tapply(x, list(x, x), function(x) "")[1,2] now correctly returns NA. (PR#17333) * Running of finalizers after explicit GC request moved from the R interface do_gc to the C interface R_gc. This helps with reclaiming inaccessible connections. * help.search(topic) and ??topic matching topics in vignettes with multiple file name extensions (e.g., *.md.rsp but not *.Rmd) failed with an error when using options(help_type = "html"). * The X11 device...