r4strings
r4strings copied to clipboard
Small typo in 3.5 format() outputs
-
nsmallis the minimum number of digits to the right of the decimal point instead ofdigits
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