Advertisement
Guest User

Untitled

a guest
Jan 25th, 2017
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. redshift <- src_postgres(dbname = ...,
  2. host = ...,
  3. port = ...,
  4. user = ...,
  5. password = ...)
  6.  
  7. df <- tbl(redshift, "df")
  8.  
  9. df %>%
  10. ggplot(aes(duration)) + geom_histogram()
  11.  
  12. Error: ggplot2 doesn't know how to deal with data of class tbl_postgres/tbl_sql/tbl_lazy/tbl
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement