GoogleVis with R Markdown

GoogleVis is a R package from CRAN that allows R interface to Google Charts API. It allows users to create interactive charts based on data frames. Charts are displayed locally via the R HTTP help server.

More examples of all GoogleVis charts from here.

Below is a simple example of displaying GPS latitude and Longitude using R Markdown

Example:

## Googlevis with R Markdown

```{r, results='asis', message=FALSE, echo=FALSE}
library(googleVis)
df <- data.frame(
loc=c("3.155762:101.716529",
"3.155923:101.712023"), 
tip=c("Suria KLCC",
"Mandarin Oriental"))

M2<-gvisMap(df, "loc", "tip", 
options=list(
showTip=TRUE, mapType="normal",
enableScrollWheel=TRUE))
print(M2, "chart")

Output:

googlevis

About Me

Hi there, Nice to know you are interested to look at my profile page.  For your information, I am currently a senior lecturer attached to the Faculty of Computing and Informatics at Multimedia University. My current research area spans peer-to-peer (P2P) networks, High Performance Computing, Distributed Systems and Big Data Analytics.

I am interested in algorithm design and performance modeling of various distributed systems based on a variety of theories, including optimization, graph theory, and network coding. I am also interested in extensive measurement, analytics and statistical study of large scale data, to explore problems and derive insights towards their improvement.

Specialties : High Performance Computing, Distributed System, Big Data Analytics, Internet of Things (IoT)

ResearcherID | OrcIDGoogle Scholar | ResearchGate | Academia | Mendeley