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.
I don't know specifically about RMySQL, but you should be able to preserve the data types from the database such that characters are not converted to numbers.
This is marked as the solution because I ended up going through a RestAPI (the spec for the project changed) and extracting the ids as string straight from the JSON response.