[R] Problem with long number (from character to numeric class)

PtitBleu ptit_bleu at yahoo.fr
Wed Feb 9 16:39:55 CET 2011


Thanks for all your answers. I didn't know this limit.

I finally found another way to go around this problem: luckily the 4 first
figures are always the same for all these numbers.
I created a new column with as.numeric(substr(df$BigNumber,5,18)).
Numbers are now 14-figures long and it is now ok.

Have a nice end of day,
Ptit Bleu.

-- 
View this message in context: http://r.789695.n4.nabble.com/Problem-with-long-number-from-character-to-numeric-class-tp3297121p3297491.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list