You find below the HTML code of the visualisation. You can copy and paste the code into an existing HTML page. For more information see also ?print.gvis
<!-- Table generated in R 3.0.1 by googleVis 0.4.4 package --> <!-- Mon Aug 26 12:07:22 2013 --> <!-- jsHeader --> <script type="text/javascript"> // jsData function gvisDataformattedtable () { var data = new google.visualization.DataTable(); var datajson = [ [ "Milk", 2230, 0.04809247558 ], [ "Butter", 43908, 0.9469257478 ], [ "Yoghurt", 231, 0.004981776618 ], [ "<b>Sum</b>", 46369, 1 ] ]; data.addColumn('string','Product'); data.addColumn('number','Revenue'); data.addColumn('number','% of Revenue'); data.addRows(datajson); return(data); } // jsDrawChart function drawChartformattedtable() { var data = gvisDataformattedtable(); var options = {}; options["allowHtml"] = true; options["width"] = 300; options["height"] = 150; var dataFormat1 = new google.visualization.NumberFormat({pattern:"#,###"}); dataFormat1.format(data, 1); var dataFormat2 = new google.visualization.NumberFormat({pattern:"#.#%"}); dataFormat2.format(data, 2); var chart = new google.visualization.Table( document.getElementById('formattedtable') ); chart.draw(data,options); } // jsDisplayChart (function() { var pkgs = window.__gvisPackages = window.__gvisPackages || []; var callbacks = window.__gvisCallbacks = window.__gvisCallbacks || []; var chartid = "table"; // Manually see if chartid is in pkgs (not all browsers support Array.indexOf) var i, newPackage = true; for (i = 0; newPackage && i < pkgs.length; i++) { if (pkgs[i] === chartid) newPackage = false; } if (newPackage) pkgs.push(chartid); // Add the drawChart function to the global list of callbacks callbacks.push(drawChartformattedtable); })(); function displayChartformattedtable() { var pkgs = window.__gvisPackages = window.__gvisPackages || []; var callbacks = window.__gvisCallbacks = window.__gvisCallbacks || []; window.clearTimeout(window.__gvisLoad); // The timeout is set to 100 because otherwise the container div we are // targeting might not be part of the document yet window.__gvisLoad = setTimeout(function() { var pkgCount = pkgs.length; google.load("visualization", "1", { packages:pkgs, callback: function() { if (pkgCount != pkgs.length) { // Race condition where another setTimeout call snuck in after us; if // that call added a package, we must not shift its callback return; } while (callbacks.length > 0) callbacks.shift()(); } }); }, 100); } // jsFooter </script> <!-- jsChart --> <script type="text/javascript" src="https://www.google.com/jsapi?callback=displayChartformattedtable"></script> <!-- divChart --> <div id="formattedtable" style="width: 300px; height: 150px;"> </div>