r - Control outputted decimal places globally -
is there way globally control number of decimal places show in print output in r? globally, mean can run @ beginning of r session applies in session. default me appears 6 decimals don't need level of detail. accomplish using base r, without using round() or other formatting function @ prompt.
for example, assume print 4 decimal places. therefore want 123.123 appear 123.1230, 123.123123 123.1231, , 123 123.0000, etc. digits() won't accomplish limits entire output number of digits specify.
Comments
Post a Comment