6.2 Primitive functions

Are the core function in base R, such as sum()

sum
#> function (..., na.rm = FALSE)  .Primitive("sum")

Type of primitives:

  • builtin
  • special
typeof(sum)
#> [1] "builtin"

These core functions have components to NULL.