The mapgl R package makes the latest versions of Mapbox GL JS and MapLibre GL JS available to R users. The package interface is designed to make the powerful capabilities of both libraries available in R mapping projects, but also feel similar to users coming from other R mapping packages.
Install the development version from GitHub with the following command:
remotes::install_github("walkerke/mapgl")
A CRAN release is forthcoming shortly.
Read through these vignettes to learn how to use the package:
If you find this project useful in your work and would like to ensure continued development of the package, you can provide support in the following ways:
- Chip in some funds to support package development via PayPal;
- Set up a consulting engagement or workshop though Walker Data to help you implement mapgl in your project. Send a note to kyle@walker-data.com if you are interested;
- File an issue - or even better, a pull request - at https://github.com/walkerke/mapgl/issues.
To stay on top of package updates / new features and to get information about mapgl trainings, be sure to sign up for the Walker Data mailing list here.