Loading...
 

r_demo06_googleVis

Testing some nice graphs from Google Visualization API through R googleVis package and PluginR in Tiki.

googleVIs R-package graphs through PluginR in Tiki

Section 1 - Testing the Installation

This code:

{RR(loadandsave="1", wikisyntax="0")} # Example adapted from the ones shown here: http://code.google.com/p/google-motion-charts-with-r/ # and here: http://www.r-bloggers.com/interactive-reports-in-r-with-knitr-and-rstudio/ # # If required the first time, uncomment the following line/s to install the required R packages, and edit the path and url to suite your needs. if(!require(googleVis)){ install.packages("googleVis", repos="http://ftp.heanet.ie/mirrors/cran.r-project.org/") } {RR}


Produces (nothing if the package is already installed):

 Plugin disabled
Plugin rr cannot be executed.

Section 2 - Scatter Chart

 Plugin R/RR: …R… command unavailable
The R package needs to be installed on the server. See requirements on https://doc.tiki.org/PluginR.

Section 3 - GeoChart USA

 Plugin R/RR: …R… command unavailable
The R package needs to be installed on the server. See requirements on https://doc.tiki.org/PluginR.

Section 4 - Motion Chart (impressive!)

 Plugin R/RR: …R… command unavailable
The R package needs to be installed on the server. See requirements on https://doc.tiki.org/PluginR.



Once everything is ready in your system (all packages installed, etc), you'll see something like this:

Image

Section 5 - Spain by Autonomous Regions

 Plugin R/RR: …R… command unavailable
The R package needs to be installed on the server. See requirements on https://doc.tiki.org/PluginR.

Section 6 - Spain by provinces

 Plugin R/RR: …R… command unavailable
The R package needs to be installed on the server. See requirements on https://doc.tiki.org/PluginR.

Section 7 - Spain by cities

 Plugin R/RR: …R… command unavailable
The R package needs to be installed on the server. See requirements on https://doc.tiki.org/PluginR.


Created by admin. Last Modification: Sunday July 28, 2024 03:05:27 CEST by admin.
out of 1 users. 
 0