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/real.html
real {base}R Documentation

Real Vectors

Description

real creates a double precision vector of the specified length. Each element of the vector is equal to 0.

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

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

Usage

real(n=0)
as.real(x)
is.real(x)

Note

R has no single precision data type. All real numbers are stored in double precision format.


[Package base version 0.60 ]