Displaying 5 results from an estimated 5 matches for "rf_lengthget".
Did you mean:
rf_lengthgets
2013 Nov 05
1
Dynamic list creation (SEXP in C) returns error "unimplemented type (29) in 'duplicate'"
...D: By reading this post in Stackoverflow
http://stackoverflow.com/questions/7458364/growing-an-r-matrix-inside-a-c-loop/7458516#7458516
I understood that it was necesary to (1) create the "child lists" and
protecting them with PROTECT_WITH_INDEX, and (2) changing its size
using SETLENGTH (Rf_lengthgets) and REPROTECT ing the lists in order
to tell the GC that the vectors had change.
THIRD: Once my two vectors are done ("id" and "lambda"), assign them
to the i-th element of the "mother list" L1 using
SET_VECTOR_ELT(VECTOR_ELT(L1,i), 0, duplicate(id));
SET_VECTOR...
2008 Apr 29
2
reproducible segmentation fault caused by textConnection()
Dear all,
It seems that textConnection() can trigger a segmentation fault. The
following script (using two large loops) makes this bug reproducible:
for (i in 1:10000) {
z=textConnection(NULL,open='w')
for (j in 1:100) {
write(runif(1)*1e6,file=z)
write('\n',file=z)
}
close(z)
}
The bug could be reproduced on R-2.6.1, R-2.7.0 and on the latest
R-devel
2003 Oct 31
1
R-1.8.0 + IBM VisualAge/C for AIX compiler
...ymbol: p_xrc
ld: 0711-224 WARNING: Duplicate symbol: end
ld: 0711-224 WARNING: Duplicate symbol: .Rf_error
ld: 0711-224 WARNING: Duplicate symbol: Rf_error
ld: 0711-224 WARNING: Duplicate symbol: .Rf_warning
ld: 0711-224 WARNING: Duplicate symbol: Rf_warning
ld: 0711-224 WARNING: Duplicate symbol: .Rf_lengthgets
ld: 0711-224 WARNING: Duplicate symbol: Rf_lengthgets
ld: 0711-224 WARNING: Duplicate symbol: .R_Reprotect
ld: 0711-224 WARNING: Duplicate symbol: R_Reprotect
ld: 0711-224 WARNING: Duplicate symbol: .Rf_mkChar
ld: 0711-224 WARNING: Duplicate symbol: Rf_mkChar
ld: 0711-224 WARNING: Duplicate symbol...
2008 Aug 07
1
dput function (PR#12112)
Full_Name: Juan Gea
Version: R version 2.6.2
OS: Fedora Core 6
Submission from: (NULL) (79.153.48.49)
Abort:
objeS <- matrix("AAA",1000000)
class(objeS)
outTxt <- textConnection("vaClob", open = "w", local = FALSE)
dput(objeS,outTxt)
close(outTxt)
R version 2.6.2 (2008-02-08)
Copyright (C) 2008 The R Foundation for Statistical Computing
ISBN
2004 Mar 13
0
64bit build on IBM
...sr/lib,-oR_X11.so,dataentry.o,devX11.o,rotated.o,rbitmap.o,-lSM,-lICE,-lX11,-ldl,-ltermcap,-lm,-lc,-L/usr/lpp/xlopt,-lxlopt,-lc,-bE:/ptmp/thoar/xlcSEtLbjqe,NULL)
ld: 0711-317 ERROR: Undefined symbol: .Rf_error
ld: 0711-317 ERROR: Undefined symbol: .Rf_warning
ld: 0711-317 ERROR: Undefined symbol: .Rf_lengthgets
ld: 0711-317 ERROR: Undefined symbol: .R_Reprotect
ld: 0711-317 ERROR: Undefined symbol: .Rf_mkChar
ld: 0711-317 ERROR: Undefined symbol: .SET_STRING_ELT
ld: 0711-317 ERROR: Undefined symbol: .Rf_isNull
ld: 0711-317 ERROR: Undefined symbol: .SET_VECTOR_ELT
ld: 0711-317 ERROR: Undefined symbol: .Rf...