[Rd] use of ... in some functions does not work (PR#9591)

wolfram at fischer-zim.ch wolfram at fischer-zim.ch
Fri Mar 30 09:48:00 CEST 2007


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



More information about the R-devel mailing list