title: R: print dataframe rows one by one in a good looking way
body: <p>I run a loop and every round a progress report should be printed to the console. Currently this is my printing code:</p>
  
  <pre><code>  estimationReportPrint=estimationReport
    if(iterationIdx&gt;1){names(estimationReportPrint)=NULL}
    print(tail(estimationReportPrint,1))
  </code></pre>
  
  <p>(So at iteration 1 the last row is printed with headers and at higher iterations the last row is printed without headers.)</p>
  
  <p>However, the result is quite ugly. (Blank rows and unequal column widths.)</p>
  
  <p><a href="https://i.stack.imgur.com/ZKrzI.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ZKrzI.png" alt="enter image description here"></a></p>
  
  <p>I would of course like it to look like this:</p>
  
  <p><a href="https://i.stack.imgur.com/4Hv5u.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4Hv5u.png" alt="enter image description here"></a></p>
  
  <p>Any suggestions?
  (Please remember I only print one row at a time!)</p>