Re: [Rd] dir.create does not return a value (PR#13686)

2009-05-02 Thread Robert Hijmans
Thanks, I am not sure if this is desirable (a function returning a value only when 'asked' to do so), but I am intrigued. How can one put such behaviour in an R function? Robert On Sat, May 2, 2009 at 8:27 PM, Sundar Dorai-Raj wrote: > Not a bug. Try: > > print(dir.create("foo")) > > or > > foo

[Rd] generic method for median

2009-03-11 Thread Robert Hijmans
Sorry, I pressed the wrong button (tab in gmail is tricky) , here is my message again, now more complete, and with the right subject: I would like to write an S4 generic for 'median', but I am not sure how to do this properly as the function does not have a "..." argument I can do this setGeneric

Re: [Rd] configure fail for XML package on freebsd

2009-03-11 Thread Robert Hijmans
I would like to write an S4 generic for 'median', but I am not sure how to do this properly as the function does not have a "..." argument I can do this setGeneric("median", function(x, na.rm=FALSE) standardGeneric("median")) but I want to be able to pass it a number of objects of the sa