The R Project SVN R

Rev

Rev 30835 | Rev 38402 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 30835 Rev 34293
Line 37... Line 37...
37
  Real values larger in modulus than the largest integer are coerced to
37
  Real values larger in modulus than the largest integer are coerced to
38
  \code{NA} (unlike S which gives the most extreme integer of the same sign).
38
  \code{NA} (unlike S which gives the most extreme integer of the same sign).
39
  Non-integral numeric values are truncated towards zero (i.e.,
39
  Non-integral numeric values are truncated towards zero (i.e.,
40
  \code{as.integer(x)} equals \code{\link{trunc}(x)} there), and
40
  \code{as.integer(x)} equals \code{\link{trunc}(x)} there), and
41
  imaginary parts of complex numbers are discarded (with a warning).
41
  imaginary parts of complex numbers are discarded (with a warning).
-
 
42
  Character strings containing either a decimal representation or a
-
 
43
  heaxadecimal representation (starting with \code{0x} or \code{0X}) can
-
 
44
  be converted, as well as any allowed by the platform for real numbers.
42
  Like \code{\link{as.vector}} it strips attributes including names.
45
  Like \code{\link{as.vector}} it strips attributes including names.
43
 
46
 
44
  \code{is.integer} returns \code{TRUE} or \code{FALSE} depending on
47
  \code{is.integer} returns \code{TRUE} or \code{FALSE} depending on
45
  whether its argument is of integer type or not.
48
  whether its argument is of integer type or not.
46
  \code{is.integer} is generic: you can write methods to handle
49
  \code{is.integer} is generic: you can write methods to handle