From michell@ng @ending from gm@il@com  Fri May  4 01:08:51 2018
From: michell@ng @ending from gm@il@com (Michel Lang)
Date: Fri, 4 May 2018 01:08:51 +0200
Subject: [Rd] length of `...`
In-Reply-To: <5BDC3CE6-9EE2-45FC-B212-3BC2D9D7F65A@gmail.com>
References: <d0b68216-4922-2249-e5e6-1589345dc6d7@kogentum.hu>
 <CAF8bMcaRW88VdyXw-kmCa9dw-awBiNiU+j+nktLRACCj4grPdQ@mail.gmail.com>
 <37141c6a-831b-b74a-7abf-a36d64130f81@gmail.com>
 <5d2181bd-006b-c6f0-fc5a-539c208a7dd8@gmail.com>
 <CABdHhvF_meM9uvs_zw3Vocm9dYWLR7HkRsYrkzNH5r+eqeKV9Q@mail.gmail.com>
 <5BDC3CE6-9EE2-45FC-B212-3BC2D9D7F65A@gmail.com>
Message-ID: <CAF6EP_7GHQVz6dQtgx15B6L8M2kS+qqXMQXiPiy5Mhgurx3rJw@mail.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




[Rd] length of `...`
Michel Lang