R Markdown and Leaflet

This web page using R Markdown that features a map created with Leaflet.

Leaflet is one of the most popular Javascript libraries for creating interactive maps. The leaflet R package allows you to create your own leaflet maps without needing to know any Javascript!

Take a look at the map.

Map

if(!require(leaflet))install.packages("leaflet")
## Loading required package: leaflet
library(leaflet)
leaflet() %>% 
  addTiles() %>%
  addMarkers(lat=-29.830153, lng=-51.410769, 
             popup="Cristian Neuhaus's Office")