Core dump with "parse" (PR#2120)

Thomas Lumley
Mon, 7 Oct 2002 13:32:03 -0700 (PDT)

On Mon, 7 Oct 2002 wrote:

> Hi everyone,
> The following code may not be very sensible, but it generates a core
> dump.  The same happens in R-1.5.1.

It doesn't generate a core dump for me in either version, but it doesn't
work correctly either.

A simpler version is:
> parse(text="a %in% b")
expression(a 0n% b)

It looks like the %i is being used as a printf format string, which might
well cause a core dump.

This isn't happening inside parse, but inside print, since
> parse(text="a %in% b")[[1]]
a %in% b


r-devel mailing list -- Read
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: