length of `...`
FWIW, there is also a backport of `...length()` for R versions >3.0.0 in my package backports (shameless self promotion): <https://github.com/r-lib/backports>. 2018-05-03 19:41 GMT+02:00 peter dalgaard <pdalgd at gmail.com>:
On 3 May 2018, at 19:23 , Hadley Wickham <h.wickham at gmail.com> wrote:
Maybe just get(paste0("..", n)) ?
Hadley
Maybe not. These things are slippery.
f <- function(...) get("..1")
f(2)
Error in get("..1") : object '..1' not found
--
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Office: A 4.23
Email: pd.mes at cbs.dk Priv: PDalgd at gmail.com
______________________________________________ R-devel at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel