title: How to save HTML file from googlevis in R
body: <ul>
  <li>R version: 3.2.2</li>
  <li>Win 8.1 both IE and Chrome</li>
  </ul>
  
  <p>When I plot a motion chart </p>
  
  <pre><code>m = gvisMotionChart(Fruits, idvar=’Fruit’, timevar=’Year’);
  plot (m)
  </code></pre>
  
  <p>I get the result on browser. I would need to save this html file somewhere for offline access. The actual need is, I have a database and created motion chart. I would like to host that file on AWS and share the URL. (simply said, I would like to access the HTML page offline)</p>
  
  <p>I have tried to print (to copy the html code) and save directly via R</p>
  
  <pre><code>cat(m$html$chart, file="tmp.html")
  </code></pre>
  
  <p>I have also tried CTRL+S on the browser that displays the data output from Rstudio (as html file). But nothing has worked.</p>
  
  <p>googleVis::gvisTable() and googleVis::gvisGauge() work just fine (static data/table, but the motion charts won't work)</p>