Jeffrey Perkel / May 04 2019

R Template

Remix this to get started with R.

pkgs = installed.packages()
mypkgs = c("sf","leaflet","rgdal","raster","geojsonio","netcdf","ncdf4","fields")
for (pkg in mypkgs) {
  print(paste(pkg, pkg %in% pkgs))
}
install.packages(c("netcdf","ncdf4","fields"))
pkgs = installed.packages()
mypkgs = c("sf","leaflet","rgdal","raster","geojsonio","netcdf","ncdf4","fields")
for (pkg in mypkgs) {
  print(paste(pkg, pkg %in% pkgs))
}