News for hackers. Stuff that matters.
Re:R for Data Science by danso on Friday September 16, 2016 @12:07PM (#12514985)
Trivial, self-serving question: is there a library for generating the diagram of table relationships here (13.2 nycflights13) http://r4ds.had.co.nz/relational-data.html

And of course, thanks for another great book, it's helpful for learning R but I'm always enlightened by how thoroughly you explain the general concepts (e.g. Relational data and joins). Have heard a few people on faculty speak enthusiastically about the book even as I hold out for more adoption of Python :)

Re:R for Data Science by crdb on Friday September 16, 2016 @01:20PM (#12515600)
It won't be as pretty, but I deal with large data models all the time, and like to use SchemaSpy [1] which generates an interactive page in HTML and can be used on the command line (I guess you could always modify the CSS to make it pretty). It's literally one of the most useful tools in my life, and the output is good enough to show to clients.

If I'm designing a DB or even just an SQL example, I'll run the code on my local machine (psql + the Postgres app [2]) or if I'm lucky, the client already has a server running Postgres and I can run it there instead. All SchemaSpy then needs is access to the DB and voila, interactive example.

[1] http://schemaspy.sourceforge.net/

[2] http://postgresapp.com/

Re:R for Data Science by thenipper on Friday September 16, 2016 @03:19PM (#12516558)
Lucidchart has the ability to generate SQL for you to run and it'll generate a schema for you. I used it to figure out the schema for a particularly poorly designed DB I had to get data out of.
Re:R for Data Science by hadley on Friday September 16, 2016 @12:53PM (#12515363)
No, I wish there was. Those were painstakingly drawn by hand.
Re:R for Data Science by phillc73 on Friday September 16, 2016 @03:59PM (#12516876)
Re:R for Data Science by th0br0 on Saturday September 17, 2016 @07:36AM (#12520099)
As far as I recall, the MySQL Workbench has a pretty useful ER generation tool builtin.