[R] ellipsis-related error: used in an incorrect context,	no ... to 	look  in
    lith 
    minilith at gmail.com
       
    Fri Feb 19 09:58:10 CET 2010
    
    
  
Does nobody have an advice concerning that problem? If it is a FAQ,
I'd appreciate a pointer to a discussion of this issue. With the docs
accessible to me, I wasn't able to solve that problem.
>     require(lattice)
>     f.barchart <- function(...) {
>         barchart(...,
>             panel = function(x, y, ...) {
>                 panel.barchart(x, y, ...)
>             }
>         )
>     }
>
>     x <- data.frame(a = c(1,1,2,2), b = c(1,2,3,4), c = c(1,2,2,1))
>     f.barchart(a ~ b, data = x, groups = c)
>
> Which results in the following error being thrown:
>
>     ..3 used in an incorrect context, no ... to look in
Regards,
Tom
    
    
More information about the R-help
mailing list