search for: rf_coercevector

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

2004 Feb 17
1
RCMD SHLIB == Couldn't reserve space for cygwin's heap, Win32 ?
...ikam.c:424: warning: passing arg 1 of `Rf_length' from incompatible pointer type flikam.c:425: warning: passing arg 1 of `Rf_length' from incompatible pointer type flikam.c:426: warning: passing arg 1 of `Rf_length' from incompatible pointer type flikam.c:428: warning: passing arg 1 of `Rf_coerceVector' from incompatible pointer type flikam.c:428: warning: assignment from incompatible pointer type flikam.c:428: warning: passing arg 1 of `Rf_protect' from incompatible pointer type flikam.c:429: warning: passing arg 1 of `Rf_coerceVector' from incompatible pointer type flikam.c:429: war...
2004 Feb 17
1
RCMD SHLIB == Couldn't reserve space for cygwin's heap, Win32 ?
...ikam.c:424: warning: passing arg 1 of `Rf_length' from incompatible pointer type flikam.c:425: warning: passing arg 1 of `Rf_length' from incompatible pointer type flikam.c:426: warning: passing arg 1 of `Rf_length' from incompatible pointer type flikam.c:428: warning: passing arg 1 of `Rf_coerceVector' from incompatible pointer type flikam.c:428: warning: assignment from incompatible pointer type flikam.c:428: warning: passing arg 1 of `Rf_protect' from incompatible pointer type flikam.c:429: warning: passing arg 1 of `Rf_coerceVector' from incompatible pointer type flikam.c:429: war...
2020 Nov 21
3
Two ALTREP questions
...y second question, it seems like the ALTREP coercion function does not handle attributes correctly. After the coercion, the ALTREP object will lose its attributes. ``` coerceFunc <- inline::cxxfunction( signature(x = "SEXP", attr = "SEXP" ) , ' SET_ATTRIB(x,attr); return(Rf_coerceVector(x, REALSXP)); ') > coerceFunc(1:6, pairlist(dim = c(2L, 3L))) [1] 1 2 3 4 5 6 > coerceFunc(1:6 + 0L, pairlist(dim = c(2L, 3L))) [,1] [,2] [,3] [1,] 1 3 5 [2,] 2 4 6 ``` The problem is that the coercion function is directly dispatched to the user-defined ALTREP coerc...
2018 Mar 29
2
Possible `substr` bug in UTF-8 Corner Case
...3E: GetNewPage (memory.c:888) ==15375==??? by 0x511FC0: Rf_allocVector3 (memory.c:2691) ==15375==??? by 0x4657AC: Rf_allocVector (Rinlinedfuns.h:577) ==15375==??? by 0x4657AC: Rf_ScalarString (Rinlinedfuns.h:1007) ==15375==??? by 0x4657AC: coerceToVectorList (coerce.c:892) ==15375==??? by 0x4657AC: Rf_coerceVector (coerce.c:1293) ==15375==??? by 0x4660EB: ascommon (coerce.c:1369) ==15375==??? by 0x4667C0: do_asvector (coerce.c:1544) ==15375==??? by 0x4CFCB9: bcEval (eval.c:6775) ==15375==??? by 0x4D95AF: Rf_eval (eval.c:624) ==15375==??? by 0x4DAD12: R_execClosure (eval.c:1764) ==15375==??? by 0x515EF7: disp...
2020 Nov 21
0
[External] Two ALTREP questions
...ke the ALTREP coercion function does not > handle attributes correctly. After the coercion, the ALTREP object will > lose its attributes. > ``` > coerceFunc <- inline::cxxfunction( signature(x = "SEXP", attr = "SEXP" ) , ' > SET_ATTRIB(x,attr); > return(Rf_coerceVector(x, REALSXP)); > ') >> coerceFunc(1:6, pairlist(dim = c(2L, 3L))) > [1] 1 2 3 4 5 6 >> coerceFunc(1:6 + 0L, pairlist(dim = c(2L, 3L))) > [,1] [,2] [,3] > [1,] 1 3 5 > [2,] 2 4 6 > ``` > The problem is that the coercion function is directly d...
2018 Mar 29
0
Possible `substr` bug in UTF-8 Corner Case
...888) > ==15375==??? by 0x511FC0: Rf_allocVector3 (memory.c:2691) > ==15375==??? by 0x4657AC: Rf_allocVector (Rinlinedfuns.h:577) > ==15375==??? by 0x4657AC: Rf_ScalarString (Rinlinedfuns.h:1007) > ==15375==??? by 0x4657AC: coerceToVectorList (coerce.c:892) > ==15375==??? by 0x4657AC: Rf_coerceVector (coerce.c:1293) > ==15375==??? by 0x4660EB: ascommon (coerce.c:1369) > ==15375==??? by 0x4667C0: do_asvector (coerce.c:1544) > ==15375==??? by 0x4CFCB9: bcEval (eval.c:6775) > ==15375==??? by 0x4D95AF: Rf_eval (eval.c:624) > ==15375==??? by 0x4DAD12: R_execClosure (eval.c:1764) >...
2002 Jan 17
1
MKL seems to beat ATLAS, but some problems... (was RE: li nkin g R against MKL)
...defined symbol: Rf_isString (./lapack.so) undefined symbol: STRING_ELT (./lapack.so) undefined symbol: Rf_isComplex (./lapack.so) undefined symbol: Rf_duplicate (./lapack.so) undefined symbol: LENGTH (./lapack.so) undefined symbol: Rf_allocMatrix (./lapack.so) undefined symbol: Rf_coerceVector (./lapack.so) undefined symbol: Rf_mkChar (./lapack.so) undefined symbol: R_alloc (./lapack.so) undefined symbol: SET_STRING_ELT (./lapack.so) undefined symbol: Rf_allocVector (./lapack.so) undefined symbol: R_CHAR (./lapack.so) undefined symbol: Rf_unprotect_pt...
2002 Jan 17
1
MKL seems to beat ATLAS, but some problems... (was RE: li nkin g R against MKL)
...defined symbol: Rf_isString (./lapack.so) undefined symbol: STRING_ELT (./lapack.so) undefined symbol: Rf_isComplex (./lapack.so) undefined symbol: Rf_duplicate (./lapack.so) undefined symbol: LENGTH (./lapack.so) undefined symbol: Rf_allocMatrix (./lapack.so) undefined symbol: Rf_coerceVector (./lapack.so) undefined symbol: Rf_mkChar (./lapack.so) undefined symbol: R_alloc (./lapack.so) undefined symbol: SET_STRING_ELT (./lapack.so) undefined symbol: Rf_allocVector (./lapack.so) undefined symbol: R_CHAR (./lapack.so) undefined symbol: Rf_unprotect_pt...
2004 Mar 13
0
64bit build on IBM
...0711-317 ERROR: Undefined symbol: R_NaString ld: 0711-317 ERROR: Undefined symbol: R_NilValue ld: 0711-317 ERROR: Undefined symbol: .Rf_PrintDefaults ld: 0711-317 ERROR: Undefined symbol: .Rf_EncodeElement ld: 0711-317 ERROR: Undefined symbol: .Rf_allocVector ld: 0711-317 ERROR: Undefined symbol: .Rf_coerceVector ld: 0711-317 ERROR: Undefined symbol: .Rf_install ld: 0711-317 ERROR: Undefined symbol: R_GlobalEnv ld: 0711-317 ERROR: Undefined symbol: .Rf_GetOption ld: 0711-317 ERROR: Undefined symbol: .Rf_asInteger ld: 0711-317 ERROR: Undefined symbol: R_NaInt ld: 0711-317 ERROR: Undefined symbol: .Rf_length...
2015 Aug 14
2
Build R on Haiku
Hi R-devel, I'm trying to get R 3.2.1 working on Haiku (an open source OS inspired by BeOS, not Linux based) on i586. With a few small changes to library paths and ifdefs I am able to get a seemingly working R binary. The build process stops with the 'tools' package. The last lines from make are below. Does anyone have any tips? I'm rather new to debugging at this low level. Are
2002 Jul 11
1
dyn.load tcl/tk (PR#1774)
...itmap.lo /usr/bin/cc -shared -L/soft/readline/v4.2.1/lib -o R_X11.so dataentry.lo devX11.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...