[Rd] Bug in parse(text = <long polynom>) (PR#7022)
maechler at stat.math.ethz.ch
maechler at stat.math.ethz.ch
Fri Jun 25 10:42:19 CEST 2004
>>>>> "MM" == Martin Maechler <maechler at stat.math.ethz.ch>
>>>>> on Fri, 25 Jun 2004 10:19:19 +0200 writes:
>>>>> "PD" == Peter Dalgaard <p.dalgaard at biostat.ku.dk>
>>>>> on 25 Jun 2004 09:32:48 +0200 writes:
PD> But you're still requiring library(polynom) for
PD> triggering the bug. If we are to be sure that it is not
PD> a bug in that package but a bug in R, you need to
PD> include the definition of at least polynomial() with the
PD> instructions to reproduce the effect...
MM> well, try this (without package polynom):
>> parse(text="1 + x*(100 + x*(4950 + x*(161700 + x*(3921225
....
and then I had the full length 2404 string which---I had
"known in advance" (Murphy's law)--- has been thrown up
before it got back to R-devel, actually by my mailer already.
Now this should be easier to pass through:
tt <- tempfile()
download.file("ftp://ftp.stat.math.ethz.ch/U/maechler/R/longpoly.rda", tt)
load(tt)
zh # look at the long "polygon string"
parse(text=zh) ## seg.fault
--
Martin
More information about the R-devel
mailing list