[Rd] "Incompatible methods" for overloaded operator

2012-06-14 Thread Winston Chang
I'm trying to overload an operator, and I'm running into a strange problem. It happens when I install and load the package, but not when I simply source() the code. I'm defining + for two classes. The R code looks like this: #' @export #' @method "+" a `+.a` <- function (x1, x2) { message("Run

Re: [Rd] x11 icon and class

2012-06-14 Thread Philip Johnson
On 06/12/2012 03:50 PM, Davor Cubranic wrote: On 2012-06-07, at 12:05 PM, Philip Johnson wrote: The X11 device driver does not provide the X window manager with an icon (_NET_WM_ICON) or, under some circumstances, with a class (WM_CLASS). This hinders usability under the new stable version o

Re: [Rd] 7 arguments passed to .Internal(identical) which requires 6

2012-06-14 Thread Matthew Dowle
Matthew Dowle mdowle.plus.com> writes: > > Will check R-Forge again when it catches up. Thanks. > Matthew > Just to confirm, R-Forge has today caught up and is now using R r59554 which includes the fix for the problem in this thread. Its binary build of data.table is now installing fine on R

[Rd] Reference class inheritance using matrix/array class

2012-06-14 Thread EJ Nikelski
Hi, I'm investigating converting some S4 classes to reference classes and have a question about inheritance. The primary data structure for the original S4 class is a 3-d array. Using the "contains" parameter when defining the class permits me to inherit all of the array-related methods. Of par