Skip to content

Instantly share code, notes, and snippets.

@mplourde
Last active August 29, 2015 14:06
Show Gist options
  • Save mplourde/024209604cc7bd469706 to your computer and use it in GitHub Desktop.
Save mplourde/024209604cc7bd469706 to your computer and use it in GitHub Desktop.
OOW setup
## R
# install possible missing dependencies for R packages
apt-get -y install libcurl4-gnutls-dev
apt-get -y install libcairo2-dev
apt-get -y install libgdal1-dev libproj-dev
apt-get -y install libxt-dev
apt-get -y install libiodbc2 libiodbc2-dev
apt-get -y install libgdal-dev libproj-dev
# then install these packages
shiny # devtools::install_github('shiny', 'rstudio')
Cairo
grid
gridExtra
svgg # devtools::install_github('svgg', 'mplourde')
RODBC
ggplot2
RColorBrewer
reshape2
plyr
stringr
shinyTable # install_github('shinyTable', 'trestletech')
scales
shinyBS
ggthemes
rgdal
data.table
caret
maptools
rgeos
rgdal
gstat
ggmap
automap
sp
leaflet # install_github('leaflet-shiny', 'mplourde')
dplyr
tidyr
data.table
## Python
wxPython
matplotlib
numpy
scipy
pyodbc
pandas
SQLAlchemy
psycopg
# Postgres
apt-get -y install python-software-properties
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
echo 'deb http://apt.postgresql.org/pub/repos/apt/ precise-pgdg main' >> /etc/apt/sources.list.d/postgresql.list
apt-get -y install postgresql-9.3 pgadmin3 postgresql-contrib-9.3
# add support for ODBC
apt-get -y install unixodbc
apt-get -y install odbc-postgresql
apt-get -y install odbc-postgresql-dbg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment