问题描述
我正在尝试将传单地图保存到rpubs。
一个recent leaflet outputs有一个带有标题的插图。 另一个是full screen leaflet output。
我一生都无法弄清楚如何更改Rmd和块设置以像2nd example above那样仅将传单地图全屏显示。
下面的示例代码
---
output: html_document
---
{r pressure,echo=FALSE,message=FALSE,warning=FALSE}
library(dplyr)
library(leaflet)
r_birthplace_map <- leaflet() %>%
addTiles() %>% # use the default base map which is OpenStreetMap tiles
addMarkers(lng=174.768,lat=-36.852,popup="The birthplace of R")
r_birthplace_map
有什么建议吗?