Ruby example translated to R with rvest

Thought you could use an R example too.