Learn R Programming

rlist (version 0.4.6.2)

set_argnames: Make names for unnamed symbol arguments

Description

Make names for unnamed symbol arguments

Usage

set_argnames(args, data = args)

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.