I tried to trick the print statement for 100.000 where I wanted all 6 digits printed not
So my idea was to just add 0.1 to 100.000 and then force no digits after the decimal point by setting
> print(1000+0.1, digits=0)
but in my case:
> print(100000 + 0.1, digits = 0)
Help says about
a non-null value for digits specifies the minimum number of significant digits to be printed in values. The default, NULL, uses getOption("digits"). (For the interpretation for complex numbers see signif.) Non-integer values will be rounded down, and only values greater than or equal to 1 and no greater than 22 are accepted.
Checked the issue in base R (4.0.3, SUSELinux), so not an RStudio issue. But I could not figure where else I could ask about it.
Am I wrong? Is R wrong?
Edit: see below, talking about 100,000 not 100.000