Re: [Rd] Attributes of 1st argument in ...

2010-07-03 Thread Daniel Murphy
Hi Hadley, My actual goal is to have a cbind method in the mondate package that behaves just like the base cbind function: class and shape of the result, names, etc. Perhaps it's due to the fact that 'cbind' uses its own internal dispatching, but I have not found a way to implement a "true" S3-sty

Re: [Rd] Attributes of 1st argument in ...

2010-07-03 Thread Hadley Wickham
Hi Dan, Is there a reason you can't change the function to f <- function(x, ...) {} ? Hadley On Fri, Jul 2, 2010 at 4:26 PM, Daniel Murphy wrote: > R-Devel: > > I am trying to get an attribute of the first argument in a call to a > function whose formal arguments consist of dots only and do s

[Rd] bug in devPS.c

2010-07-03 Thread Jinsong Zhao
Hi there, I have filed a bug report at: https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14326. And the related patch is at: https://bugs.r-project.org/bugzilla3/attachment.cgi?id=1113 which will do: 1) correct the binary comment (the second line of PDF file) 2) remove a strange ^M in the P

Re: [Rd] Attributes of 1st argument in ...

2010-07-03 Thread Olaf Mersmann
Hi Daniel, On 02.07.2010, at 23:26, Daniel Murphy wrote: > I am trying to get an attribute of the first argument in a call to a > function whose formal arguments consist of dots only and do something, e.g., > call 'cbind', based on the attribute > f<- function(...) {get first attribute; maybe or m