Last active
September 10, 2018 12:01
-
-
Save tomer-ben-david/982f9c9867d2747f422cb2d4642021a7 to your computer and use it in GitHub Desktop.
redshift rstudio
This file contains hidden or 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
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') | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment