On Sun, Jun 24, 2012 at 07:29:23AM +0100, Rui Barradas wrote:
> Hello,
>
> Don't worry, it's just a print thing. Just check this example:
>
>
> x <- 123456789.0378
> x
> [1] 123456789
> x - 123456789
> [1] 0.0378
Hello:
If you want to see more digits of the number, use one of the
following.
print(x, digits=17)
[1] 123456789.0378
options(digits=17)
x
[1] 123456789.0378
The default setting of options("digits") is 7.
Hope this helps.
Petr Savicky.
______________________________________________
[email protected] 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.