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

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -