[Rd] Scoping bug in ftable() (PR#6541)

Duncan Murdoch dmurdoch at pair.com
Thu Feb 5 01:16:48 MET 2004


On Wed,  4 Feb 2004 19:32:30 +0100 (CET), you wrote:

>I think this works:
>
>args <- list(...)
>names(args) <-
>as.character(unlist(as.list(substitute(list(...)))))[-1]
>x <- do.call("table", args)
>
>but isn't there an easier way?

I decided there might not be, and committed a solution based on that,
so the bug no longer exists in r-devel (but maybe a new one does).

Duncan Murdoch



More information about the R-devel mailing list