set_argnames: Make names for unnamed symbol arguments

Description Usage Arguments Details

View source: R/functions.R

Description

Make names for unnamed symbol arguments

Usage

1

Arguments

args

the unevaluated argument list

data

the list to be named (args by default)

Details

The elements of an unevaluated list of arguments may or may not have names as given by user. For example, list.select requires user to specify the fields to select. These fields are unevaluated arguments, some of which are symbols and others are calls. For the symbols, it is natural to make the resulted lists to have the same name for the particular arguments.


rlist documentation built on Sept. 5, 2021, 5:30 p.m.