Displaying 11 results from an estimated 11 matches for "rf_getattrib".
2003 Feb 06
1
rdbi segmentation fault (fwd)
...(conn)
and you get a segmentation fault too.
The database PGA does exist and the dbSendQuery does create a table (i
checked via psql)
i followed the instructions given by tim (see url or msg below) and im
sending (what think is) the backtrace:
Program received signal SIGSEGV, Segmentation fault.
Rf_getAttrib (vec=0x8b50cd0, name=0x81d19b8) at attrib.c:93
93 if (TAG(s) == name) {
(gdb) backtrace
#0 Rf_getAttrib (vec=0x8b50cd0, name=0x81d19b8) at attrib.c:93
#1 0x080c0a8f in Rf_usemethod (generic=0xbffff0c0 "print", obj=0x8b50cd0,
call=0x880c5a0, args=0x81d1b08, rho=0x89dd900, callrho=0...
2012 Apr 16
1
eval a SYMSXP from C
...<- function(x,mu) {
attr(x,"mu") <- substitute(mu)
x
}
mu <- 2.0
xn <- foo(rnorm(100),mu)
> typeof(attr(xn,"mu"))
[1] "symbol"
> eval(attr(xn,"mu"))
[1] 2
>
In a .Call, I am attempting to eval the SYMSXP as follows:
SEXP mu_ = Rf_getAttrib(x_,Rf_install("mu"));
if(TYPEOF(mu_)==SYMSXP) {
mu_ = Rf_eval(Rf_lang1(mu_),R_GlobalEnv);
}
However, when running this code, I get the following error:
Error in logp(xn) : could not find function "mu"
Do I need to create an expression of c("get", "mu") t...
2003 Feb 06
0
rdbi segmentation fault
...(conn)
and you get a segmentation fault too.
The database PGA does exist and the dbSendQuery does create a table (i
checked via psql)
i followed the instructions given by tim (see url or msg below) and im
sending (what think is) the backtrace:
Program received signal SIGSEGV, Segmentation fault.
Rf_getAttrib (vec=0x8b50cd0, name=0x81d19b8) at attrib.c:93
93 if (TAG(s) == name) {
(gdb) backtrace
#0 Rf_getAttrib (vec=0x8b50cd0, name=0x81d19b8) at attrib.c:93
#1 0x080c0a8f in Rf_usemethod (generic=0xbffff0c0 "print", obj=0x8b50cd0,
call=0x880c5a0, args=0x81d1b08, rho=0x89dd900, callrho=0...
2004 Feb 17
2
interfacing C++ using .Call
...fined reference to
`Rf_protect(SEXPREC*)'
test.a(test.o.b)(.text+0xcf):test.cpp: undefined reference to
`Rf_allocVector(unsigned, int)'
test.a(test.o.b)(.text+0xda):test.cpp: undefined reference to
`Rf_protect(SEXPREC*)'
test.a(test.o.b)(.text+0xf5):test.cpp: undefined reference to
`Rf_getAttrib(SEXPREC*, SEXPREC*)'
test.a(test.o.b)(.text+0x107):test.cpp: undefined reference to
`Rf_setAttrib(SEXPREC*, SEXPREC*, SEXPREC*)'
test.a(test.o.b)(.text+0x113):test.cpp: undefined reference to
`Rf_unprotect(int)'
test.a(test.o.b)(.text+0x129):test.cpp: undefined reference to
`VECTOR_E...
2002 Jan 02
1
Building R-1.4 on Tru64
...Rf_error
Rf_protect
Rf_substitute
Rf_unprotect
Rf_duplicate
Rf_VectorToPairList
R_NilValue
Rf_NewEnvironment
R_set_standardGeneric_ptr
R_GlobalEnv
R_set_quick_method_check
Rf_install
Rf_allocVector
LOGICAL
R_PreserveObject
Rf_mkChar
SET_STRING_ELT
Rf_findVar
R_UnboundValue
VECTOR_ELT
R_NamesSymbol
Rf_getAttrib
Rf_length
STRING_ELT
R_CHAR
R_do_slot
Rf_asChar
PRINTNAME
Rf_isNull
CAR
CDR
R_data_class
Rf_isFunction
Rf_findFun
SETCAR
Rf_eval
INTEGER
CLOENV
Rf_findVarInFrame
Rf_isSymbol
ENCLOS
SYMVALUE
Rf_asLogical
R_MissingArg
Rf_isPrimitive
do_set_prim_method
BODY
R_deferred_default_method
PREXPR
PRENV
R_Dot...
2002 Jan 17
1
MKL seems to beat ATLAS, but some problems... (was RE: li nkin g R against MKL)
...(./lapack.so)
undefined symbol: COMPLEX (./lapack.so)
undefined symbol: Rf_unprotect (./lapack.so)
undefined symbol: REAL (./lapack.so)
undefined symbol: INTEGER (./lapack.so)
undefined symbol: Rf_error (./lapack.so)
undefined symbol: Rf_setAttrib (./lapack.so)
undefined symbol: Rf_getAttrib (./lapack.so)
undefined symbol: lsame_ (./lapack.so)
Looks like all the libraries it needs are there, but why can't it find those
undefined symbols?
Any help is greatly appreciated!
Regards,
Andy
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help...
2002 Jan 17
1
MKL seems to beat ATLAS, but some problems... (was RE: li nkin g R against MKL)
...(./lapack.so)
undefined symbol: COMPLEX (./lapack.so)
undefined symbol: Rf_unprotect (./lapack.so)
undefined symbol: REAL (./lapack.so)
undefined symbol: INTEGER (./lapack.so)
undefined symbol: Rf_error (./lapack.so)
undefined symbol: Rf_setAttrib (./lapack.so)
undefined symbol: Rf_getAttrib (./lapack.so)
undefined symbol: lsame_ (./lapack.so)
Looks like all the libraries it needs are there, but why can't it find those
undefined symbols?
Any help is greatly appreciated!
Regards,
Andy
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help...
2004 Mar 13
0
64bit build on IBM
...d: 0711-317 ERROR: Undefined symbol: R_NaReal
ld: 0711-317 ERROR: Undefined symbol: .UNIMPLEMENTED
ld: 0711-317 ERROR: Undefined symbol: .Rf_duplicate
ld: 0711-317 ERROR: Undefined symbol: .R_ProtectWithIndex
ld: 0711-317 ERROR: Undefined symbol: R_NamesSymbol
ld: 0711-317 ERROR: Undefined symbol: .Rf_getAttrib
ld: 0711-317 ERROR: Undefined symbol: .Rf_errorcall
ld: 0711-317 ERROR: Undefined symbol: .Rf_protect
ld: 0711-317 ERROR: Undefined symbol: .Rf_str2type
ld: 0711-317 ERROR: Undefined symbol: .Rf_begincontext
ld: 0711-317 ERROR: Undefined symbol: .Rf_endcontext
ld: 0711-317 ERROR: Undefined symbol:...
2008 May 07
1
[BioC] RCurl loading problem with 64 bit linux distribution
...R_useDynamicSymbols
00000000000057e0 T Rcurl_set_header
U Rf_ScalarInteger
U Rf_ScalarReal
U Rf_ScalarString
U Rf_allocVector
U Rf_asInteger
U Rf_error
U Rf_eval
U Rf_getAttrib
U Rf_install
U Rf_length
U Rf_mkChar
U Rf_mkCharCE
U Rf_mkCharLen
U Rf_mkString
U Rf_protect
U Rf_setAttrib
U Rf_unprotect
U Rf_w...
2008 May 07
1
[BioC] RCurl loading problem with 64 bit linux distribution
...R_useDynamicSymbols
00000000000057e0 T Rcurl_set_header
U Rf_ScalarInteger
U Rf_ScalarReal
U Rf_ScalarString
U Rf_allocVector
U Rf_asInteger
U Rf_error
U Rf_eval
U Rf_getAttrib
U Rf_install
U Rf_length
U Rf_mkChar
U Rf_mkCharCE
U Rf_mkCharLen
U Rf_mkString
U Rf_protect
U Rf_setAttrib
U Rf_unprotect
U Rf_w...
2002 Jul 11
1
dyn.load tcl/tk (PR#1774)
...mplxblas.lo -L/soft/readline/v4.2.1/lib -lreadline
-ltermcap -lm -lUfor -lfor -lFutil -lots -lm_c32 -lmld -lexc -lreadline
-ltermcap -lm
ld:
Warning: Unresolved:
R_NaInt
Rf_error
R_alloc
R_NilValue
R_DimSymbol
R_NamesSymbol
Rf_coerceVector
Rf_allocMatrix
Rf_allocVector
Rf_asLogical
Rf_duplicate
Rf_getAttrib
Rf_isComplex
Rf_isMatrix
Rf_isString
Rf_mkChar
Rf_protect
Rf_setAttrib
Rf_unprotect
Rf_unprotect_ptr
LENGTH
R_CHAR
STRING_ELT
SET_STRING_ELT
VECTOR_ELT
SET_VECTOR_ELT
INTEGER
REAL
COMPLEX
R_setLapackRoutines
xerbla_
dswap_
dscal_
drot_
lsame_
idamax_
dgemm_
dcopy_
dnrm2_
dgemv_
dasum_
dtrmv_
daxpy_...