Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

dots

Capture unevaluated dots.


Description

Capture unevaluated dots.

Usage

dots(...)

named_dots(...)

Arguments

...

... passed in to the parent function

Value

a list of expressions (not expression objects). named_dots will use the deparsed expressions as default names.

Examples

y <- 2
str(dots(x = 1, y, z = ))
str(named_dots(x = 1, y, z =))

pryr

Tools for Computing on the Language

v0.1.4
GPL-2
Authors
Hadley Wickham [aut, cre], R Core team [ctb] (Some code extracted from base R)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.