From pd@lgd @ending from gm@il@com  Thu May  3 19:41:37 2018
From: pd@lgd @ending from gm@il@com (peter dalgaard)
Date: Thu, 3 May 2018 19:41:37 +0200
Subject: [Rd] length of `...`
In-Reply-To: <CABdHhvF_meM9uvs_zw3Vocm9dYWLR7HkRsYrkzNH5r+eqeKV9Q@mail.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>
Message-ID: <5BDC3CE6-9EE2-45FC-B212-3BC2D9D7F65A@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




[Rd] length of `...`
peter dalgaard