This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
installing MODIStsp requires many dependencies: | |
library(RGtk2; rgdal; cairo; sp; bitops; data.table; gdalUtils; hash; gWidgets; rgeos; xts; XML; xml2; stringr; httr; RJSONIO; chron; iterators; digest; pacman; curl) | |
and for MAC OSX sierra, there are two main issues: | |
1. As outlined here in the comment by @tobybot11 (https://gist.github.com/sebkopf/9405675) Rgtk requires the x11 libraries/headers (gdk/gdkx.h specifically) | |
and doesn't work with the quartz libraries/headers which now is the default for GTK | |
2. When installing the dependencies gWidgetsRGtk2 and cairoDevice from CRAN you need to choose the version "OS X Mavericks binaries" | |
and not "Package source" | |
To start, update to the recent R package, then update packages | |
#1. update packages |