[R] Strange results converting string to number

pintinho diego at bpgomes.com
Mon Oct 15 21:30:49 CEST 2007


Hi,

I am getting a strange result while converting a string vector into numeric
vector:

> Datas[1]
[1] 37315

> as.numeric(Datas[1])
[1] 2

Can anyone help me??
-- 
View this message in context: http://www.nabble.com/Strange-results-converting-string-to-number-tf4629811.html#a13220089
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list