Skip to content

Wired result when I convert from Character to Numeric

2 messages · Christofer Bogaso, Gerrit Eichner

#
Hi,

Below is my simple result in R
[1] 1282554

Any idea where all numbers in the decimal places (ie 8, 2, 1) are gone?

Thanks,
#
Hi, Christofer,

try

print(as.numeric(x), digits = 10) # or another number of digits

to increase the printed(!) precision.

  Hth  --  Gerrit

Am 23.05.2018 um 12:42 schrieb Christofer Bogaso: