This help topic is for R version 0.60. For the current version of R, try https://stat.ethz.ch/R-manual/R-patched/library/base/html/integer.html
integer {base}R Documentation

Integer Vectors

Usage

integer(n=0)

as.integer(x)
is.integer(x)

Value

This function creates a integer vector of the specified length. Each element of the vector is equal to 0. Integer vectors exist so that data can be passed to C or Fortran code which expects them.

as.integer attempts to coerce its argument to be of integer type.

is.integer returns TRUE or FALSE depending on whether its argument is of integer type or not.


[Package base version 0.60 ]