title: save the output of fix() or page() command to a text file
body: <p>How can we save the content of fix() or page() to a text file in R?</p>
  
  <p>For example:</p>
  
  <pre><code> hcity.D2 &lt;- hclust(UScitiesD, "ward.D2") # example of hclust in the R help file
  </code></pre>
  
  <p>I want to save the output of <code>page(hcity.D2)</code> in to a text file.</p>