Thanks, a lot I was not able to find it the hole day ... Carmen Phil Spector schrieb: > Carmen - > You certainly can write functions that use ..., but you need > to extract the arguments that the dots represent with list(). > Here's a modified version of your function that may help explain > how this feature works. > > test <- function(x,...){ > print(x) > args = list(...) > if('y' %in% names(args))print(args$y) > if('z' %in% names(args))print(args$z) > } > > - Phil Spector > Statistical Computing Facility > Department of Statistics > UC Berkeley > [EMAIL PROTECTED] > >
______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.