httr 0.5 is now available on CRAN. The httr packages makes it easy to talk to web APIs from R. Learn more in the quick start vignette.
This release is mostly bug fixes and minor improvements, but there is one major new feature: you can now save response bodies directly to disk.
library(httr) # Download the latest version of rstudio for windows url <- "http://download1.rstudio.org/RStudio-0.98.1049.exe" GET(url, write_disk(basename(url)), progress())
There is also some preliminary support for HTTP caching (see
rerequest()). See the release notes for complete details.
We are excited to announce real-time collaborative editing on RStudio Cloud. Users can join the same project, edit code, and immediately see each other’s changes.
In this series, we walk through lesser-known tips and tricks to help you work more effectively and efficiently in R Markdown. This third post focuses on features that save you time and trouble.