William Dunlap <wdunlap <at> tibco.com> writes:

> f1 <- function (c, nm = "gamma", ...)
> {
>     probFunc <- getFunction(paste0(c, nm))
>     force(list(...))
>     function(x) probFunc(x, ...)
> }
>
> Bill Dunlap
> Spotfire, TIBCO Software
> wdunlap tibco.com
> 

Thanks a lot William!, this really enhances my knowledge of the language.

 -Sergio.

______________________________________________
R-help@r-project.org 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.

Reply via email to