R-beta: 0.61.3: Problems on DEC Unix 4.0

Martin Maechler Martin Maechler <maechler@stat.math.ethz.ch>
Thu, 7 May 1998 14:59:16 +0200

>> cc: Error: graphics.c, line 808: An unexpected newline character is present
>>  in a string literal.
>>         printf("Gpretty(%g,%g,%d): cell=%g, ndiv= %d <=0;\t\t(ns,nu)=(%d,%d);
>> ---------------^
We had already Hubert Palme (SGI Irix) complaining about this and proposing
(a slightly different) patch (I prefer your patch).

This is mea culpa.
It works (w/o patch!), both with Solaris 'cc' and  'gcc'
(and isn't it ANSI C ?).


I just found another buglet (in 0.61.x and 0.62.snap):

    > prod(c(1:3,NA,pi),na.rm=FALSE)
    [1] NA
    > prod(c(1:3,NA,pi),na.rm=TRUE)
    R(bug): [1] NA
    S(ok) : [1] 18.84956

This is in main/summary.c  which I am patching anyway..

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