From dmurdoch at pair.com  Thu Feb  5 01:16:48 2004
From: dmurdoch at pair.com (Duncan Murdoch)
Date: Thu Feb  5 01:17:05 2004
Subject: [Rd] Scoping bug in ftable() (PR#6541)
In-Reply-To: <20040204183230.F3CFCEDDF@slim.kubism.ku.dk>
References: <20040204183230.F3CFCEDDF@slim.kubism.ku.dk>
Message-ID: <fp2320ts7ktp1h8g8nognhhqflch37p019@4ax.com>

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


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