Dear stackoverflow community, I work with a dataset with very large numbers, which represent customer id's. If I want to change these from string to as.character the following happens:
alpha<-"2510607126325391401"
beta<-as.numeric(alpha)
print(beta, digits=22)
[1] 2510607126325391360.000
Which is clearly not identical, does somebody now how to resolve this issue? Thank you in advance, Best, Alec Minnema