From toth@dene@ @end|ng |rom kogentum@hu  Thu Mar 12 10:06:43 2020
From: toth@dene@ @end|ng |rom kogentum@hu (=?UTF-8?B?RMOpbmVzIFTDs3Ro?=)
Date: Thu, 12 Mar 2020 10:06:43 +0100
Subject: [Rd] support of `substitute(...())`
Message-ID: <5268fdf5-664f-36ad-3111-d269b8da3d74@kogentum.hu>

Dear R Core Team,

I learnt approx. two years ago in this mailing list that one can use the 
following "trick" to get a (dotted pair)list of the ellipsis arguments 
inside a function:

`substitute(...())`

Now my problem is that I can not find any occurrence of this call within 
the R source - the most frequent solution there is 
`substitute(list(...))[-1L] `

I would like to know if:
1) substitute(...()) is a trick or a feature in the language;
2) it will be supported in the future;
3) when (in which R version) it was introduced.

A hint on where to look for the machinery in the R source would be also 
appreciated.

Regards,
Denes



[Rd] support of `substitute(...())`
=?UTF-8?B?RMOpbmVzIFTDs3Ro?=