Reserved Words in R

The reserved words in R's parser are

if else repeat while function for in next break

TRUE FALSE NULL Inf NaN NA NA_integer_ NA_real_ NA_complex_ NA_character_

... and ..1, ..2 etc, which are used to refer to arguments passed down from a calling function. See the /doc/manual/R-intro.html#The-three-dots-argumentIntroduction to R manual for usage of these syntactic elements, and dotsMethods for their use in formal methods.

programming, documentation

Reserved words outside quotes are always parsed to be references to the objects linked to in the ‘Description’, and hence they are not allowed as syntactic names (see make.names). They are allowed as non-syntactic names, e.g.\ifelse{latex}{\out{~}}{ } inside backtick quotes.

  • Reserved
  • reserved
  • ...
  • ..1
Documentation reproduced from package base, version 3.3, License: Part of R @VERSION@

Community examples

Looks like there are no examples yet.