The preview version 0.98.441 of RStudio introduced a new viewer pane to render local web content and with that it allows me to display googleVis charts within RStudio rather than in a separate browser window.
I think this is a rather nice feature and hence I have updated the plot method in googleVis to use the RStudio viewer pane as the default output. If you use another editor, or if the plot is using one of the Flash based charts, then the browser is still the default display.
The behaviour can also be controlled via the option
options("viewer"=NULL) and googleVis will plot all output in the browser again.
Of course shiny apps can also run in the viewer pane. Here is the example of the
renderGvis help page of googleVis. For more information about the new viewer pane see the online RStudio documentation.
Is this a step in the right direction? Please use the voting buttons below.
R Under development (unstable) (2013-10-25 r64109)<br />Platform: x86_64-apple-darwin10.8.0 (64-bit)<br /><br />locale:<br /> en_GB.UTF-8/en_GB.UTF-8/en_GB.UTF-8/C/en_GB.UTF-8/en_GB.UTF-8<br /><br />attached base packages:<br /> stats graphics grDevices utils datasets methods base <br /><br />other attached packages:<br /> googleVis_0.4.6<br /><br />loaded via a namespace (and not attached):<br /> RJSONIO_1.0-3 tools_3.1.0