R programming

Image of blog post and discussion

How to comment and uncomment in code in various software programs and languages, including R, SQL, CSS, PHP, HTML, and Stata. Examples and details on keyboard shortcuts, symbols, and how to comment and uncomment using the code editor Notepad++.

LEAFLET map in R Shiny

Code to create a map in R Shiny using Leaflet. This example loads a base map, sets the centre and zoom, and has a reset button to return the map to the original view.