> > argn <- lapply(names(args), as.name) > names(argn) <- names(args) > > call <- as.call(c(list(as.name("lm")), argn)) > eval(call, args) >
Great, almost! Is there any way I can explicitly specify the package of the function in this way? I tried replacing "lm" with "stats::lm" but that did not work. [[alternative HTML version deleted]] ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel