Skip to content

Instantly share code, notes, and snippets.

View achubaty's full-sized avatar

Alex Chubaty achubaty

View GitHub Profile
@achubaty
achubaty / config.site
Last active November 30, 2018 04:18 — forked from jeroen/config.site
Building R on Solaris
## Copy this file into config.site ##
CC="cc -xc99"
CPPFLAGS="-I/opt/csw/include"
CFLAGS="-I/opt/csw/include -O -xlibmieee"
LDFLAGS="-L/opt/csw/lib"
F77=f95
FFLAGS=-O
CXX="CC -library=stlport4"
CXXFLAGS=-O
FC=f95
library(mapproj)
library(rgdal)
## view the original data & ggplot map from
## http://rud.is/b/2015/10/04/replicating-natgeos-proper-earthquake-map-in-r/
url <- "http://rud.is/dl/quakefile.tgz"
if (!file.exists(basename(url))) {
download.file(url, destfile = basename(url))
untar(basename(url))