R-alpha: Bugs in R-0.60 --

Martin Maechler Martin Maechler <maechler@stat.math.ethz.ch>
Mon, 8 Dec 1997 11:05:10 +0100


Dear Ross,

>>>>> "Ross" == Ross Ihaka <ihaka@stat.auckland.ac.nz> writes:

    >> From: Martyn Plummer <plummer@iarc.fr> To: r-devel@stat.math.ethz.ch
    >> Subject: R-alpha: Bugs in R-0.60

    >> 1) Segfault!  assign(character(0),1) Fix: Obviously, check the
    >> string length. The same problem may occur in other places but I
    >> haven't done an extensive search.  x <- 1 attr(x, character(0))

    Ross> 	Fixed these two, but there may well be more ...

things like these  remind me once more  
how very useful it would be to have an option like
	-dont-stop-on-error
for R (batch).

We could have many tests like these in a few  'test' files that would be
run through R...; 
Actually, I'm thinking of auto-generated function calls where most would
give  'Error: ..'  but none should give  segfault...

This could help very much to autodetect problems like these.

- Martin.




-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._