[R] numerical accuracy, dumb question

Liaw, Andy andy_liaw at merck.com
Sat Aug 14 04:02:57 CEST 2004


If I'm not mistaken, numerics are read in as doubles, so that shouldn't be a
problem.  However, I'd try using factor or character.

Andy

> From: Dan Bolser
> 
> I store an id as a big number, could this be a problem?
> 
> Should I convert to at string when I use read.table(...
> 
> example id's
> 
> 1001001001001
> 1001001001002
> ...
> 1002001002005
> 
> 
> Bigest is probably 
> 
> 1011001001001
> 
> Ta, 
> Dan.
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! 
> http://www.R-project.org/posting-guide.html
> 
>




More information about the R-help mailing list