Displaying 7 results from an estimated 7 matches for "primsxp".
Did you mean:
prims
2006 Jun 03
3
More on bug 7924
...devel/r-devel/R/src/main/main.c:1444
1444 (x->sxpinfo.named) = v;
$1 = 0x85cfd8
$2 = {sxpinfo = {type = 13, obj = 0, named = 2, gp = 0, mark = 1,
debug = 0,
trace = 0, fin = 0, gcgen = 0, gccls = 1}, attrib = 0x508818,
gengc_next_node = 0x6db278, gengc_prev_node = 0x8442b8, u =
{primsxp = {
offset = 2}, symsxp = {pname = 0x2, value = 0x230002acc2,
internal = 0x21000090}, listsxp = {carval = 0x2, cdrval =
0x230002acc2,
tagval = 0x21000090}, envsxp = {frame = 0x2, enclos =
0x230002acc2,
hashtab = 0x21000090}, closxp = {formals = 0x2, body =
0x230002...
2011 Aug 13
1
Latent flaw in SEXPREC definition
There seems to be a latent flaw in the definition of struct SEXPREC
in Rinternals.h, which likely doesn't cause problems now, but could
if the relative sizes of data types changes.
The SEXPREC structure contains a union that includes a primsxp,
symsxp, etc, but not a vecsxp. However, in allocVector in memory.c,
zero-length vectors are allocated using allocSExpNonCons, which
appears to allocates a SEXPREC structure. This won't work if a vecsxp
is larger than the other types that are in the union in the SEXPREC
structure.
Simply add...
2009 Sep 12
1
Access to integer value of BUILTINSXP/SPECIALSXP
Hello,
For the BUILTINSXP and SPECIALSXP types, the R Internals page documents
"An integer giving the offset into the table of primitives/.Internals. "
What macro gives me the value of this integer? I guess something like
this would work
had R_USEINTERNALS been defined
v->u.primsxp.offset
(where v is a SEXP of either of the above types).
What is the portable version?
Thank you
Saptarshi
2009 Jun 25
1
R data inspection under gdb?
...,
but it's not working for me. E.g., I get
(gdb) p R_PV(x)
$1 = void
and yet
(gdb) p *x
$2 = {sxpinfo = {type = 16, obj = 0, named = 0, gp = 0, mark = 0, debug = 0,
trace = 0, spare = 0, gcgen = 0, gccls = 1},
attrib = 0x608f98, gengc_next_node = 0xa82328, gengc_prev_node = 0xa822c8,
u = {primsxp = {offset = 1}, symsxp = {
pname = 0x1, value = 0x146fb50, internal = 0x2000000a}, listsxp =
{carval = 0x1, cdrval = 0x146fb50,
tagval = 0x2000000a}, envsxp = {frame = 0x1, enclos = 0x146fb50,
hashtab = 0x2000000a}, closxp = {formals = 0x1,
body = 0x146fb50, env = 0x2000000a}, pro...
1998 Jul 01
4
R-beta: R-0.62.1 under Digital Unix
I am grateful for the advice of Douglas Bates on my earlier problem in making
R-0.62.1, but I'm afraid I'm still having problems....
I have been installing the various updates to R for quite some time on my
alpha, and it is only now that I have been having really severe problems.
The three or 4 versions before 0.61.1 installed without error. For 0.61.1 I
needed to install GNU make.
For
2006 Jun 02
2
Helping out - simple bugs to help familiarize with R design, source, etc
Hi All,
Well I finally have found the time to get svn working and I have
successfully built my own tuned atlas (multi-threaded version) libs
and have both the r-devel and r-patched trees building daily on my box.
The problem is I still do not have a good idea of the layout and
design of R, and typically I "learn by doing" by trying to fix a bug
that hits me. Unfortunately ;-)
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