I am trying to read a CSV file that has barcodes in the first column, but when R gets it into a data.frame, it converts 1665535004661
to 1.67E+12
.
Is there a way to preserve this number in an integer format? I tried assigning a class of "double"
, but that didn’t work, nor did assigning a class of "character"
. Once it is in the 1.67E+12
format any attempt to convert it back to an integer returns 167000000000
.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…