From maechler at stat.math.ethz.ch  Fri Jun 25 10:42:19 2004
From: maechler at stat.math.ethz.ch (maechler@stat.math.ethz.ch)
Date: Fri Jun 25 10:42:21 2004
Subject: [Rd] Bug in parse(text = <long polynom>) (PR#7022)
Message-ID: <20040625084219.57E7D108CF@slim.kubism.ku.dk>

>>>>> "MM" == Martin Maechler <maechler@stat.math.ethz.ch>
>>>>>     on Fri, 25 Jun 2004 10:19:19 +0200 writes:

>>>>> "PD" == Peter Dalgaard <p.dalgaard@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


[Rd] Bug in parse(text = <long polynom>) (PR#7022)
maechler@stat.math.ethz.ch