wolfram at fischer-zim.ch
2007-Mar-30 07:48 UTC
[Rd] use of ... in some functions does not work (PR#9591)
Consider: x.lm <- function( ... ) lm( ... ) x.xyplot <- function( ... ) xyplot( ... ) x.dotplot <- function( ... ) dotplot( ... ) lm( dist ~ speed, data=cars, weight=speed ) x.lm( dist ~ speed, data=cars, weight=speed ) xyplot( variety ~ yield | site, groups=year, data=barley ) x.xyplot( variety ~ yield | site, groups=year, data=barley ) dotplot( variety ~ yield | site, groups=year, data=barley ) x.dotplot( variety ~ yield | site, groups=year, data=barley ) Out of the x.* functions only the x.xyplot function works. The others results in a message like: Error in eval(expr, envir, enclos) : ..2 used in an incorrect context, no ... to look in Regards - Wolfram