library(leaflet)m = leaflet() %>% addTiles()m # a map with the default OSM tile layerm = m %>% setView(-93.65, 42.0285, zoom = 17)mm %>% addPopups(-93.65, 42.0285, 'Here is the <b>Department of Statistics</b>, ISU')
This package is not on CRAN yet, but you can install it from Github:
if (!require('devtools')) install.packages('devtools')devtools::install_github('rstudio/leaflet')
In addition to the usual R package documentation, we also have extensive docs and examples at: http://rstudio.github.io/leaflet
This package is licensed to you under the terms of the GNU General Public License version 3 or later.
Copyright 2013-2015 RStudio, Inc.