title: R options(digits=2) function changes the total number of digits’ format. Looking for a way to change the digits after decimal point
body: <p>The <code>options(digits=2)</code> changed the total number of digits going forward:</p>
  
  <pre><code>&gt; options(digits=3)
  
  &gt; 1.234 
  
  [1] 1.23
  &gt; 12.234 
  
  [1] 12.2
  &gt; 123.234 
  
  [1] 123
  </code></pre>
  
  <p>Is there any way to change the number formatting such that it changes the digits after decimal point, so with digits_after_decimal=3 the number 1.12345 becomes 1.123 and 123.12345 become 123.123?</p>
  
  <p>I am aware of the functions round or format; however, they just return the result based on parameters whereas options(digits=3) changes all formatting going forward.</p>