Advertisement
Guest User

Untitled

a guest
Apr 1st, 2016
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. ```{r, echo=FALSE, message=FALSE}
  2. sql = "SELECT 1;"
  3. connPostgres = dbConnect(
  4. dbDriver("PostgreSQL"), dbname="universe",
  5. host="localhost", port=5432,
  6. user="lee", password="***"
  7. )
  8. df = dbGetQuery(connPostgres, sql)
  9. ```
  10.  
  11. Error in file(con, "r") : cannot open the connection
  12. Calls: <Anonymous> ... withVisible -> eval -> eval -> paste -> readLines -> file
  13. Execution halted
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement