Re: [Rd] call / do.call expression too big

From: Jeroen Ooms <jeroen.ooms_at_stat.ucla.edu>
Date: Sun, 05 Jun 2011 16:25:08 -0700

>
> 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_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Sun 05 Jun 2011 - 23:33:11 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 06 Jun 2011 - 05:00:15 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive