I try to display the France map on HTML with RStudio; I followed the tutorial to the World card in Creating an interactive map with leafle; Example works.
I wanted to do the same just by displaying the map of France: code :
library(rgdal) library(foreign) library(maptools) FRA=readShapePoly("/Users/insa/Documents/exempleR/FRA_adm/FRA_adm0.shp") #plot(FRA_adm0) # Nettoyage des données library(leaflet) ## Initialisation m
I wanted to do the same just by displaying the map of France: code :
library(rgdal) library(foreign) library(maptools) FRA=readShapePoly("/Users/insa/Documents/exempleR/FRA_adm/FRA_adm0.shp") #plot(FRA_adm0) # Nettoyage des données library(leaflet) ## Initialisation m