search for: rf_alloclist

Displaying 5 results from an estimated 5 matches for "rf_alloclist".

2007 Mar 07
3
Garbage collector crashes after calling a C function
...the RunGenCollect memory error ==9370== Invalid write of size 8 ==9370== at 0x4C1F73A: RunGenCollect (in /usr/lib64/R/lib/libR.so) ==9370== by 0x4C23E55: R_gc_internal (in /usr/lib64/R/lib/libR.so) ==9370== by 0x4C22DC3: Rf_cons (in /usr/lib64/R/lib/libR.so) ==9370== by 0x4C23AE1: Rf_allocList (in /usr/lib64/R/lib/libR.so) ==9370== by 0x4B6926B: installAttrib (in /usr/lib64/R/lib/libR.so) ==9370== by 0x4B69961: Rf_classgets (in /usr/lib64/R/lib/libR.so) ==9370== by 0x4B68DC1: Rf_setAttrib (in /usr/lib64/R/lib/libR.so) ==9370== by 0x4B69A40: do_classgets (in /usr/lib64/R/l...
2008 Mar 29
0
"Writing R Extensions": bad example with CAR / CDR as lvalues (PR#11054)
...strative example would be even better. Just in case you want to use it as example, here is my code. I hope it is correct in your expert eyes. /* Remove the variable with name s from the environment ev, i.e. construct the call: rm( list=s, envir=ev ) */ SEXP call; PROTECT( call = Rf_allocList( 3 ) ); SET_TYPEOF( call, LANGSXP ); SETCAR( call, install( "rm" ) ); SETCAR( CDR(call), allocVector( STRSXP, 1 ) ); SET_STRING_ELT( CAR( CDR(call) ), 0, mkChar( s ) ); SET_TAG( CDR(call), install("list") ); SETCAR( CDDR(call), ev ); SET_TAG( CDD...
2008 Mar 31
1
(PR#11054) "Writing R Extensions": bad example with CAR /
...t; > > Just in case you want to use it as example, here is my code. I hope it is > correct in your expert eyes. > > /* Remove the variable with name s from the environment ev, > i.e. construct the call: rm( list=s, envir=ev ) */ > > SEXP call; > PROTECT( call = Rf_allocList( 3 ) ); > SET_TYPEOF( call, LANGSXP ); > > SETCAR( call, install( "rm" ) ); > > SETCAR( CDR(call), allocVector( STRSXP, 1 ) ); > SET_STRING_ELT( CAR( CDR(call) ), 0, mkChar( s ) ); > SET_TAG( CDR(call), install("list") ); > > SETCAR( CDDR(c...
2008 Sep 27
1
seg.fault from nlme::gnls() {was "[R-sig-ME] GNLS Crash"}
>>>>> "VW" == Viechtbauer Wolfgang (STAT) <Wolfgang.Viechtbauer at STAT.unimaas.nl> >>>>> on Fri, 26 Sep 2008 18:00:19 +0200 writes: VW> Hi all, I'm trying to fit a marginal (longitudinal) VW> model with an exponential serial correlation function to VW> the Orange tree data set. However, R crashes frequently VW>
2002 Jul 11
1
dyn.load tcl/tk (PR#1774)
...vX11.lo rotated.lo rbitmap.lo -lSM -lICE -lX11 -lreadline -ltermcap -lm ld: Warning: Unresolved: R_NaReal R_NaInt Rf_error Rf_warning UNIMPLEMENTED Rf_isBlankString R_strtod R_GlobalEnv R_NilValue R_NaString Rf_coerceVector Rf_PairToVectorList Rf_VectorToPairList Rf_allocString Rf_allocVector Rf_allocList Rf_asInteger Rf_duplicate Rf_GetOption Rf_install Rf_isList Rf_isVector Rf_length Rf_listAppend Rf_nthcdr Rf_PrintDefaults Rf_protect Rf_unprotect SET_STRING_ELT SET_TAG SETCAR SETCDR Rf_begincontext Rf_endcontext Rf_str2type Rf_errorcall Rf_EncodeElement vmaxget vmaxset R_alloc Rprintf Rf_elt Rf_f...