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: