Loading...
 
RR Code
# Testing rCharts from http://ramnathv.github.io/rCharts/
if(!require(devtools)){ install.packages("devtools", repos="http://ftp.heanet.ie/mirrors/cran.r-project.org/") }
require('devtools', quietly = TRUE )
if(!require(rCharts)){ install_github('rCharts', 'ramnathv') }

map3 <- Leaflet$new()
map3$setView(c(51.505, -0.09), zoom = 13)
map3$marker(c(51.5, -0.09), bindPopup = " Hi. I am a popup ")
map3$marker(c(51.495, -0.083), bindPopup = " Hi. I am another popup ")
#map3$print("chart7")
map3$LIB[2] <- "https://r.tiki.org/rcharts_libraries/leaflet"
map3$save("map3.html")


{iframe name="myChart" width="850" height="500" align="middle" frameborder="0" marginheight="0" marginwidth="0" scrolling="auto" src="temp/cache/r.tiki.org/R_r_test09_rcharts_leaflet/map3.html"}





Show php error messages