search for: 8f509cfa

Displaying 1 result from an estimated 1 matches for "8f509cfa".

2007 Apr 17
2
Use of argument '...'
Dear R list, I've read the function writing sections on both "An introduction to R" and "R language Definition" manuals but still don't understand why the following gives an error message: fun <- function(x, ...) x + y fun(1, y=2) I get: Error in fun(1, y = 2) : object "y" not found I'd appreciate any help in understanding this. R version 2.4.1