tomer-ben-david
9/10/2018 - 11:59 AM

redshift rstudio

redshift rstudio

brew install libpq
```R
install.packages('RPostgres')
library(RPostgres)
pconn_r <- dbConnect(RPostgres::Postgres(),
               host = host,
               port = port,
               user = user,
               password = password,
               dbname = dbname,
               sslmode='require')
```