Skip to content

Instantly share code, notes, and snippets.

@AABoyles
Created April 13, 2015 18:23
Show Gist options
  • Save AABoyles/b1ee79f3e4e2d554c942 to your computer and use it in GitHub Desktop.
Save AABoyles/b1ee79f3e4e2d554c942 to your computer and use it in GitHub Desktop.
Credentials to connect to postgresql
library("RPostgreSQL")
con <- dbConnect(dbDriver("PostgreSQL"),
host="your database's host",
port="5432",
user="your database's username",
password="your database's password",
dbname="your database's name")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment