Skip to content

R-alpha: Re: R-beta: Version 0.49 Released

3 messages · Kurt Hornik, A.J. Rossini, Peter Dalgaard

#
I noticed the following problems (all already reported, but not in
TASKS).

* TASKS.OLD has

FROM:   <Kurt.Hornik@ci.tuwien.ac.at>
        Btw, here's another way to produce a segfault with admittedly
        nonsense code:
                R> x <- 1:5
                R> dimnames(x)[1,2] <- NULL
                Segmentation fault
        [ Hmmm.  This seems to have gone away.  I get the error     ]
        [ message "Error: incorrect number of subscripts on array". ]

On my Linux system, I still get the segfault.  Perhaps others could
check that?

* File permissions in data should be 644.

* In src/unix/system.c, one `Rdata' should be `RData' (d -> D).

* The documentation for the noncentral chisquare distribution is not
quite correct.  (rnchisq does not exist, the existing functions have x,
df and the noncentrality parameter as args, and the density should be

   pnchisq(x, df, lambda)
   = exp(-lambda / 2)
     * sum_{r=0}^\infty \frac{lambda^r}{2^r r!} pchisq(x, df + 2r)

(semiTeX notation only, sorry).

******************

New minor remarks:

* The documentation for `image' still has the old order z, x, y.

* Perhaps one should add `par(ask = T)' in the image demo?

* Perhaps one should save the original value of par() at the beginning
of the graphics demo, and restore that at its end (s.t. typically asking
is turned off again).

******************

Overall, REALLY GREAT!  Thanks for putting out the official release ...

Best,
-k
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
#
Kurt> I noticed the following problems (all already reported, but
    Kurt> not in TASKS).

 Kurt> * TASKS.OLD has

    Kurt> FROM: <Kurt.Hornik@ci.tuwien.ac.at>
    Kurt>         Btw, here's another way to produce a segfault with
    Kurt>         admittedly nonsense code:
    R> x <- 1:5 dimnames(x)[1,2] <- NULL
    Kurt>                 Segmentation fault
    Kurt>         [ Hmmm.  This seems to have gone away.  I get the
    Kurt>         error ] [ message "Error: incorrect number of
    Kurt>         subscripts on array". ]

    Kurt> On my Linux system, I still get the segfault.  Perhaps
    Kurt> others could check that?


segfault on Solaris 2.5.1, as well:


fhat 73 > R

R : Copyright 1997, Robert Gentleman and Ross Ihaka
Version 0.49 Beta (April 23, 1997)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type "license()" for details.
Segmentation fault (core dumped)
fhat 74 > gdb bin/R.binary core
GDB is free software and you are welcome to distribute copies of it
 under certain conditions; type "show copying" to see the conditions.
There is absolutely no warranty for GDB; type "show warranty" for details.
GDB 4.15.1 (sparc-sun-solaris2.4), 
Copyright 1995 Free Software Foundation, Inc...
Core was generated by `/p1/apps/R/src/R-0.49/bin/R.binary'.
Program terminated with signal 11, Segmentation fault.

#0  0x254f0 in allocArray (mode=16, dims=0x175770) at array.c:124
124                     n = n * INTEGER(dims)[i];
(gdb) where
#0  0x254f0 in allocArray (mode=16, dims=0x175770) at array.c:124
#1  0xa6a0c in listAssign1 (call=0x2fb0a4, x=0x175770, subs=0x2fb0cc, 
    y=0x175770) at subassign.c:922
#2  0xa7650 in do_subassign (call=0x2fb0a4, op=0x1760bc, args=0x2fb090, 
    rho=0x17d1c8) at subassign.c:1119
#3  0x59b28 in eval (e=0x2fb0a4, rho=0x17d1c8) at eval.c:137
#4  0x5b630 in applydefine (call=0x2fafc8, op=0x175f40, args=0x2fafb4, 
    rho=0x17d1c8) at eval.c:625
#5  0x5b984 in do_set (call=0x2fafc8, op=0x175f40, args=0x2fafb4, rho=0x17d1c8)
    at eval.c:666
#6  0x59b28 in eval (e=0x2fafc8, rho=0x17d1c8) at eval.c:137
#7  0x65978 in R_Repl (rho=0x17d1c8, savestack=0, browselevel=0) at main.c:187
#8  0x65f4c in mainloop () at main.c:359
#9  0xcd6fc in main (ac=0, av=0xeffffa14) at system.c:267
(gdb) 



----
-tony (Anthony Rossini)	           Statistics Dept., U South Carolina
rossini@stat.sc.edu	           Columbia, SC 29208
http://www.stat.sc.edu/~rossini/   803-777-3578(O) 803-777-4048 (fax)  
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
#
Kurt Hornik <Kurt.Hornik@ci.tuwien.ac.at> writes:
Agreed. How's the Win32 version coming along? 

And BTW how does the source code in the src/windows directory fit in?
Where's the Makefile, which compiler, which libraries, etc...