Learn R Programming

rgp (version 0.4-1)

arity.primitive: Determine the number of arguments of a primitive function

Description

Tries to determine the number of arguments of a primitive R function by lookup in a builtin table.

Usage

arity.primitive(f)

Arguments

f
The primitive to determine the arity for.

Value

The arity of the primitive f.