search for: deparse2buff

Displaying 6 results from an estimated 6 matches for "deparse2buff".

2012 Nov 22
0
why does do_stop call R_GetTraceback ?
...he extra 41 seconds in R_GetTraceback() NEVER does anything useful! Is this actually true, or does R_GetTraceback() have some important side effect that I'm unaware of? Thanks for your help! (gdb) bt #0 vector2buff (s=0xba73ed0, d=0x7fffa18d4a00) at ../../../src/main/deparse.c:1298 #1 deparse2buff (s=0xba73ed0, d=0x7fffa18d4a00) at ../../../src/main/deparse.c:1123 #2 0x00007ff28807034f in vec2buff (v=<value optimized out>, d=0x7fffa18d4a00) at ../../../src/main/deparse.c:1402 #3 0x00007ff28806ea20 in deparse2buff (s=0xba734d0, d=0x7fffa18d4a00) at ../../../src/main/depars...
2016 Jan 04
1
deparse with parentheses for SUBSET
...ain/deparse.c 2015-08-09 18:09:04.000000000 +0200 +++ R-devel/src/main/deparse.c 2016-01-04 16:15:09.000000000 +0100 @@ -971,7 +971,11 @@ print2buff(")", d); break; case PP_SUBSET: + if ((parens = needsparens(fop, CAR(s), 1))) + print2buff("(", d); deparse2buff(CAR(s), d); + if (parens) + print2buff(")", d); if (PRIMVAL(SYMVALUE(op)) == 1) print2buff("[", d); else With this applied, the output is more consistent: > substitute(a[1], list(a = quote(x * y))) (x * y)[1] > substitute(a$b, list(a = quote(x * y...
1997 May 06
1
R-beta: formula() and model formulae
Several bugs (no solutions, yet). These might be well known. 1) If one does, e.g., mymod <- lm(y ~ x); formula(mymod) then one does not get back the formula (one gets, Error: invalid formula) 2) if x is of mode numeric, then the model formula mymod <- lm(y ~ x + x^2) is not processed as S would do it. The model is fit ignoring the x^2 term, however mymod$call includes the x^2 term.
1997 May 06
1
R-beta: formula() and model formulae
Several bugs (no solutions, yet). These might be well known. 1) If one does, e.g., mymod <- lm(y ~ x); formula(mymod) then one does not get back the formula (one gets, Error: invalid formula) 2) if x is of mode numeric, then the model formula mymod <- lm(y ~ x + x^2) is not processed as S would do it. The model is fit ignoring the x^2 term, however mymod$call includes the x^2 term.
2019 Apr 05
3
[EXTERNAL] Re: Re: all.equal failure
>>>>> Duncan Murdoch >>>>> on Fri, 5 Apr 2019 11:12:48 -0400 writes: > On 05/04/2019 10:46 a.m., Therneau, Terry M., Ph.D. wrote: >> >> >> On 4/5/19 9:39 AM, Duncan Murdoch wrote: >>> On 05/04/2019 10:19 a.m., Therneau, Terry M., Ph.D. wrote: >>>> Duncan, >>>> ?? I should have
2008 Aug 06
1
RGtk2 on linux: "stack smashing detected"
Yea I am aware of this. This is because the Ubuntu binary has stack smashing detection enabled. It's possible to build R without this checking: export CFLAGS="-fno-stack-protector" I have not been able to figure out why stack smashing is detected. I'm cc'ing this to r-devel in case anyone else has an idea. Michael On Wed, Aug 6, 2008 at 12:31 AM, Felix Andrews