I just started learning r and was experimenting a bit when I came across this issue.
my code was:
options(digits=20)
i <- 0:20
10^i +1
and my output was the following :
## [1] 2 11 101
## [4] 1001 10001 100001
## [7] 1000001 10000001 100000001
## [10] 1000000001 10000000001 100000000001
## [13] 1000000000001 10000000000001 100000000000001
## [16] 1000000000000001 10000000000000000 100000000000000000
## [19] 1000000000000000000 10000000000000000000 100000000000000000000
why are the last 5 values missing a one at the end? sorry if this is all messy. im new here too.
thanks for the help.