I've tried to search StackOverflow and on here. I've also tried my hand at the R documentation but seem to find no answer to a seemingly basic question. I'm not sure if I'm looking in the right places.
R seems to be capable of handling numeric digits only up until 16 digits. After that it starts changing the numbers. I suspect it is because R understands it as a particular data type (e.g. float vs int ) . Is there a way around this besides converting to character? My use case is a bunch of numeric ids that are imported from a database.
options(scipen=999) 1111111111111111 #>  1111111111111111 11111111111111111 #>  11111111111111112 111111111111111111 #>  111111111111111104
Created on 2022-05-25 by the reprex package (v2.0.1)