On 3/12/20 4:06 PM, William Dunlap wrote:
Note that substitute(...()) and substitute(someFunc(...))[-1] give
slightly different results, the former a pairlist and the latter a call.
> str((function(...)substitute(...()))(stop(1),stop(2),stop(3)))
Dotted pair list of 3
$ : language st
Note that substitute(...()) and substitute(someFunc(...))[-1] give slightly
different results, the former a pairlist and the latter a call.
> str((function(...)substitute(...()))(stop(1),stop(2),stop(3)))
Dotted pair list of 3
$ : language stop(1)
$ : language stop(2)
$ : language stop
Full schedule is available on developer.r-project.org.
Notice that Copenhagen Business School, like all Danish educational
institutions, is physically locked down for two weeks due to COVID-19. The
schedule is automated, but there may be irregularities with the nightly builds,
if things act up
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 - th