File: 001.R.KEYWORDS.R

package info (click to toggle)
r-cran-r.methodss3 1.8.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 300 kB
  • sloc: sh: 12; makefile: 2
file content (28 lines) | stat: -rw-r--r-- 881 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
###########################################################################/**
# @eval "Rdoc$package <- 'R.methodsS3';''"
# @RdocObject "R.KEYWORDS"
#
# @title "Reserved words in R not to be used for object names"
#
# \description{
#  @get "title". \code{R.KEYWORDS} is a @character @vector of all reserved
#  words in \R according to [1].
# }
#
# @author
#
# \references{
#  [1] Section "Reserved words", R Language Definition, version 2.6.0 
#      (2007-09-14) DRAFT.
# }
#
# @keyword programming
# @keyword internal
#*/###########################################################################
R.KEYWORDS <- c(
  "break", "else", "for", "function", "if", "in", "next", 
  "repeat", "while", "TRUE", "FALSE", "Inf", "NULL", "NA", "NaN",
  paste("NA_", c("integer", "real", "complex", "character"), "_", sep=""),
  "...", paste("..", 1:99, sep="")
)
export(R.KEYWORDS) <- FALSE