Displaying 14 results from an estimated 14 matches for "rf_setattrib".
2018 Jun 28
1
Null pointer dereference in Rf_isVector()
...0x7fff7a56d770 T0)
==11608==The signal is caused by a READ memory access.
==11608==Hint: address points to the zero page.
#0 0x5cc478 in Rf_isVector
R-3.5.0/src/main/../../src/include/Rinlinedfuns.h:857:12
#1 0x5cc478 in Rf_dimnamesgets R-3.5.0/src/main/attrib.c:1099
#2 0x5c4f72 in Rf_setAttrib R-3.5.0/src/main/attrib.c:259:9
#3 0x5db48d in do_attributesgets R-3.5.0/src/main/attrib.c:1373:6
#4 0x84b939 in bcEval R-3.5.0/src/main/eval.c:7082:12
#5 0x8171df in Rf_eval R-3.5.0/src/main/eval.c:624:8
#6 0x8669a2 in R_execClosure R-3.5.0/src/main/eval.c
#7 0x817d7f in R...
2013 Dec 16
1
External pointers and changing SEXPTYPE
...ta->ans_nms = Rf_allocVector(STRSXP, efldNR ));
for( ix = 0; ix < efldNR; ix++ )
SET_STRING_ELT(mydata->ans_nms, ix, mkChar(vnames[ix]));
// later I bind values of non-R variables from my data structure to a
proper vector
PROTECT(mydata->ans = Rf_allocVector(VECSXP, efldNR ));
Rf_setAttrib(mydata->ans, R_NamesSymbol, mytraj->ans_nms);
SET_VECTOR_ELT(mydata->ans, 0, mydata->R_a );
SET_VECTOR_ELT(mydata->ans, 1, mydata->R_b );
...
// all protects get unprotected before return
// finalizer is registered as well
return Rdata;
Later on in read_my_data() I...
2007 Mar 07
3
Garbage collector crashes after calling a C function
...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/lib/libR.so)
==9370== by 0x4BE908E: Rf_eval (in /usr/lib64/R/lib/libR.so)
==9370== by 0x4BEB6FD: applydefine (in /usr/lib64/R/lib/libR.so)
==9370== by 0x4BEBAE3: do_set (in /usr/lib64/R/lib/libR.so)...
2004 Feb 17
2
interfacing C++ using .Call
...ce 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_ELT(SEXPREC*, int)'
test.a(test.o.b)(.text+0x132):test.cpp: undefined reference to
`SETCADR(SEXPREC...
2016 Jun 10
0
collapsing list of NULLs dimnames into a NULL
...otentially setting a list of NULLs as the dimnames
of an object, so having dimnames<- do the collapse would fix the problem
in one place once for all and avoid a lot of repeated code.
Finally, having this functionality available at the C level would be
great. Would basically be a wrapper to
Rf_setAttrib(x, R_DimNamesSymbol, dimnames)
that takes care of the collapse. The SET_DIMNAMES macro could be
redefined to call that wrapper instead...
Thanks,
H.
--
Herv? Pag?s
Program in Computational Biology
Division of Public Health Sciences
Fred Hutchinson Cancer Research Center
1100 Fairview Ave. N, M...
2002 Jan 17
1
MKL seems to beat ATLAS, but some problems... (was RE: li nkin g R against MKL)
...(./lapack.so)
undefined symbol: Rf_asLogical (./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
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-...
2002 Jan 17
1
MKL seems to beat ATLAS, but some problems... (was RE: li nkin g R against MKL)
...(./lapack.so)
undefined symbol: Rf_asLogical (./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
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-...
2004 Mar 13
0
64bit build on IBM
...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: .Rf_setAttrib
ld: 0711-317 ERROR: Undefined symbol: .Rf_unprotect
ld: 0711-317 ERROR: Undefined symbol: .R_setX11Routines
ld: 0711-317 ERROR: Undefined symbol: .vmaxget
ld: 0711-317 ERROR: Undefined symbol: .Rf_asReal
ld: 0711-317 ERROR: Undefined symbol: .Rf_isValidString
ld: 0711-317 ERROR: Undefined symbol: ....
2009 Sep 16
4
2.10.0 Under development (unstable) (2009-09-15 r49711) just built segfaults on Debian Squeeze
I just downloaded R-devel and when loaded it immediately segfaults. I'm not
sure how much or what sort of diagnostic info and can provide, but below is
my build script, my console output, and the output of uname -r. I am
currently dependent on the development version of a package, so I'd like to
get R-devel up and running if possible. I am sure there is more info I can
provide, but before
2008 May 07
1
[BioC] RCurl loading problem with 64 bit linux distribution
...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_warning
U SETCAR
U SET_STRING_ELT
U SET_VECTOR_ELT
U STRING_ELT
U TYPEOF
U VECTOR_ELT
0000000000208040 d VersionInfoFieldNames
00000000002080c0...
2008 May 07
1
[BioC] RCurl loading problem with 64 bit linux distribution
...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_warning
U SETCAR
U SET_STRING_ELT
U SET_VECTOR_ELT
U STRING_ELT
U TYPEOF
U VECTOR_ELT
0000000000208040 d VersionInfoFieldNames
00000000002080c0...
2000 Apr 26
2
Cross compiling a package for Windows on Linux
...s.o)(.text+0x203):nls.c: undefined reference to `Rf_asLogical'
nls.a(nls.o)(.text+0x20f):nls.c: undefined reference to `Rf_isNewList'
nls.a(nls.o)(.text+0x223):nls.c: undefined reference to `Rf_error'
... (many lines deleted)
nls.a(nls.o)(.text+0xb52):nls.c: undefined reference to `Rf_setAttrib'
nls.a(nls.o)(.text+0xb5c):nls.c: undefined reference to `Rf_unprotect'
make[2]: *** [nls.dll] Error 1
make[2]: Leaving directory `/usr/src/r-devel/src/library/nls/src'
make[1]: *** [src/nls.dll] Error 2
make[1]: Leaving directory `/usr/src/r-devel/src/library/nls'
make: *** [...
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)
...for -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_
ddot_
dger_
dtrmm_
dsymv_
dtrsv_
dsyr2_
dsyr2k_
gmake[5]: Entering dir...