nsmall is the minimum number of digits to the right of the decimal point instead of digits
digits The number of digits to the right of the decimal place.
The original code is at Line 202 in r4strings/printing.Rmd
In the last output example of argument big.mark, the output is printed as "1.23e+08", which should be "123,456,789" instead.
# big.mark
format(123456789, big.mark = ",")
#> [1] "1.23e+08"
The original code is at Line 243 in r4strings/printing.Rmd
nsmallis the minimum number of digits to the right of the decimal point instead ofdigitsdigitsThe number of digits to the right of the decimal place.The original code is at Line 202 in r4strings/printing.Rmd
In the last output example of argument big.mark, the output is printed as "1.23e+08", which should be "123,456,789" instead.
The original code is at Line 243 in r4strings/printing.Rmd