Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ```{r, echo=FALSE, message=FALSE}
- sql = "SELECT 1;"
- connPostgres = dbConnect(
- dbDriver("PostgreSQL"), dbname="universe",
- host="localhost", port=5432,
- user="lee", password="***"
- )
- df = dbGetQuery(connPostgres, sql)
- ```
- Error in file(con, "r") : cannot open the connection
- Calls: <Anonymous> ... withVisible -> eval -> eval -> paste -> readLines -> file
- Execution halted
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement