Re: [Rd] X11 help please

2007-06-18 Thread Hin-Tak Leung
Prof Brian Ripley wrote: rgl normally works under Xvfb on Linux: we've been using that for the testing 'for ever'. However R should not 'crash' on an error in a package, and the X11 device has error handlers set up by XSetErrorHandler(R_X11Err);

Re: [Rd] X11 help please

2007-06-18 Thread Duncan Murdoch
On 6/18/2007 7:56 AM, Hin-Tak Leung wrote: Prof Brian Ripley wrote: rgl normally works under Xvfb on Linux: we've been using that for the testing 'for ever'. However R should not 'crash' on an error in a package, and the X11 device has error handlers set up by

Re: [Rd] X11 help please

2007-06-18 Thread Duncan Murdoch
On 6/18/2007 9:39 AM, Duncan Murdoch wrote: On 6/18/2007 7:56 AM, Hin-Tak Leung wrote: Prof Brian Ripley wrote: rgl normally works under Xvfb on Linux: we've been using that for the testing 'for ever'. However R should not 'crash' on an error in a package, and the X11 device has error

Re: [Rd] package check note: no visible global function definition (in functions using Tcl/Tk)

2007-06-18 Thread Luke Tierney
On Thu, 14 Jun 2007, Bill Dunlap wrote: On Thu, 14 Jun 2007, Prof Brian Ripley wrote: You may prefer the version now in R-devel: this goes slightly the other way in that it loads all the Suggests/Enhances packages and also a dummy compatibility package for platform differences. Neither this

[Rd] two bessel function bugs for nu0

2007-06-18 Thread Hiroyuki Kawakatsu
#bug 1: besselI() for nu0 and expon.scaled=TRUE #tested with R-devel (2007-06-17 r41981) x - 2.3 nu - -0.4 print(paste(besselI(x, nu, TRUE), =, exp(-x)*besselI(x, nu, FALSE))) #fix: #$ diff bessel_i_old.c bessel_i_new.c #57c57 # bessel_k(x, -alpha, expo) * ((ize == 1)? 2. : 2.*exp(-x))/M_PI #---

Re: [Rd] X11 help please

2007-06-18 Thread Duncan Murdoch
Duncan Murdoch wrote: The rgl package currently crashes R when running under Xvfb (the virtual frame buffer server), at least on MacOSX. It makes sense that it shouldn't be able to work there (it needs interactivity), but I don't know how to detect the problems before they cause the crash.