I am using R version 3.6.0 (2019-04-26)
. I noticed something strange with the precision of rational numbers when using dput
. For example:
1/3
# [1] 0.3333333
dput(1/3)
# 0.333333333333333
Why does dput
produce an object with many more decimal places that is not identical to the original?