title: After scraping data from a URL using readHTMLTable, how can I convert the result to a data frame?
body: <p>I've tried all sorts of different manipulations, but my basic problem is this:</p>
  
  <pre><code>url&lt;- "http://www.ref.org.uk/fuel/tablebysp.php?valdate=2015-03-08"
  data &lt;- readHTMLTable(url,header = TRUE,as.data.frame =TRUE,which=2)
  typeof(data)
  </code></pre>
  
  <p>My data looks great, but I cannot coerce it into a data frame. I don't know what is stopping me.</p>