Re: [Rd] X11 help please

2007-06-17 Thread Prof Brian Ripley
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); XSetIOErrorHandler(R_X11IOErr); I don't see anything comp

[Rd] X11 help please

2007-06-17 Thread Duncan Murdoch
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. Currently the error hap

Re: [Rd] Missing args with a default value in S4 methods

2007-06-17 Thread John Chambers
Where the generic and the method have different arguments, there is a local version of the method that must be called, with argument matching. In your call, R's behavior is to pass down the missing argument from the generic. (Your explicit empty argument is intrinsically different in R from m