frame_dots() extracts dots from a frame and
dots() extracts dots from its arguments. The
_lsp() versions return a pairlist that is ready to be
spliced into a call, while the regular versions return a regular
list that is usually easier to work with.
frame_dots(frame = NULL)frame_dots_lsp(frame = NULL)dots(...)dots_lsp(...)
- The environment from which the dots should be retrieved. Can be a frame, an environment, or a formula from which to retrieve an environment. If not supplied, the calling frame is used.
- Arguments to extract. Can be both forwarded dots and direct arguments.
frame_dots_lsp() never fail, even if
the frame does not contain dots. Instead they return an empty list