Friday, April 17, 2015

Installing RPostgreSQL for R on Max OS Yosemite

I went through a painful period of digesting wrong answers to this question on Google. In fact most of the answers are just of the type "this is somebody else's problem so we can't help"

Anyway this is the eventual sequence of steps I found to install this that works:

brew install postgresql
svn checkout rpostgresql-read-only
cd rpostgresql-read-only
R CMD INSTALL --preclean RPostgreSQL

then in R just type library('RPostgreSQL') and you're good to go

1 comment:

eu4 console commands said...

I'm using the installer only because I wanted to make a universal installation video as the title suggests. On the servers I admin I wget from source and build it.