Dear all, I had following calculations with R:
> x = vector(length = 4)
> x[1] = 1
> x[2] = 3
> x[3] = 123456789123456
> x[4] = -9876543219876
> as.integer(x)
[1]  1  3 NA NA
Warning message:
NAs introduced by coercion

What went wrong?

Thanks and regards,

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to