Skip to content
Back to formatted view

Raw Message

Message-ID: <CAF6EP_7GHQVz6dQtgx15B6L8M2kS+qqXMQXiPiy5Mhgurx3rJw@mail.gmail.com>
Date: 2018-05-03T23:08:51Z
From: Michel Lang
Subject: length of `...`
In-Reply-To: <5BDC3CE6-9EE2-45FC-B212-3BC2D9D7F65A@gmail.com>

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