title: Export dataframe to pdf/png in R
body: <p>Here is my sample dataset:</p>
  
  <pre><code>Singer &lt;- c("A","B","C","A","B","C")
  Rank &lt;- c(1,2,3,3,2,1)
  Episode &lt;- c(1,1,1,2,2,2)
  Votes &lt;- c(0.3,0.28,0.11,0.14,0.29,0.38)
  
  Result &lt;- data_frame(Episode,Singer,Rank,Votes)
  </code></pre>
  
  <p>I need to export the dataframe Result to image such as pdf or png. I tried to print it and save it to pdf, but it seems some of the columns would be deleted. I wonder if there is a easier way to export dataframe to image in R.</p>