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
<!-- Timeline generated in R 3.0.3 by googleVis 0.5.0-3 package --> <!-- Sat Mar 15 16:20:59 2014 --> <!-- jsHeader --> <script type="text/javascript"> // jsData function gvisDataww2 () { var data = new google.visualization.DataTable(); var datajson = [ [ "US President", "Franklin D. Roosevelt", new Date(1933,2,4), new Date(1945,3,12) ], [ "US President", "Harry S. Truman", new Date(1945,3,12), new Date(1953,0,20) ], [ "UK Prime Minister", "Stanley Baldwin", new Date(1935,5,7), new Date(1937,4,28) ], [ "UK Prime Minister", "Neville Chamberlain", new Date(1937,4,28), new Date(1940,4,10) ], [ "UK Prime Minister", "Winston Churchill", new Date(1940,4,10), new Date(1945,6,26) ], [ "UK Prime Minister", "Clement Attlee", new Date(1945,6,26), new Date(1951,9,26) ], [ "UK Prime Minister", "Winston Churchill", new Date(1951,9,26), new Date(1955,3,7) ], [ "World War II", "World War II", new Date(1939,8,1), new Date(1945,8,2) ] ]; data.addColumn('string','Group'); data.addColumn('string','Person'); data.addColumn('date','StartDate'); data.addColumn('date','EndDate'); data.addRows(datajson); return(data); } // jsDrawChart function drawChartww2() { var data = gvisDataww2(); var options = {}; options["width"] = 590; options["height"] = 180; var chart = new google.visualization.Timeline( document.getElementById('ww2') ); chart.draw(data,options); } // jsDisplayChart (function() { var pkgs = window.__gvisPackages = window.__gvisPackages || []; var callbacks = window.__gvisCallbacks = window.__gvisCallbacks || []; var chartid = "timeline"; // 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(drawChartww2); })(); function displayChartww2() { 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=displayChartww2"></script> <!-- divChart --> <div id="ww2" style="width: 590px; height: 180px;"> </div>