builtins

0th

Percentile

Returns the Names of All Built-in Objects

Return the names of all the built-in objects. These are fetched directly from the symbol table of the R interpreter.

Keywords
utilities
Usage
builtins(internal = FALSE)
Arguments
internal
a logical indicating whether only ‘internal’ functions (which can be called via .Internal) should be returned.
Details

builtins() returns an unsorted list of the objects in the symbol table, that is all the objects in the base environment. These are the built-in objects plus any that have been added subsequently when the base package was loaded. It is less confusing to use ls(baseenv(), all = TRUE).

builtins(TRUE) returns an unsorted list of the names of internal functions, that is those which can be accessed as .Internal(foo(args ...)) for foo in the list.

Value

A character vector.

Aliases
  • builtins
Documentation reproduced from package base, version 3.3, License: Part of R @VERSION@

Community examples

richie@datacamp.com at Jan 18, 2017 base v3.3.2

`builtins()` with `internal = FALSE` returns all the objects in the base environment, in reverse alphabetical order. ```{r} identical( builtins(), rev(ls(baseenv(), all.names = TRUE)) ) ```