Commercial enterprise offerings
Open source packages - Quarto, Shiny, and more
httr 0.5
Written by Hadley Wickham
2014-09-03
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.
```{r}
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 cache_info() and rerequest()). See the release notes for complete details.
Hadley Wickham
Chief Scientist, Posit
Hadley is Chief Scientist at Posit PBC, winner of the 2019 COPSS award, and a member of the R Foundation. He builds tools (both computational and cognitive) to make data science easier, faster, and more fun. His work includes packages for data science (like the tidyverse, which includes ggplot2, dplyr, and tidyr)and principled software development (e.g. roxygen2, testthat, and pkgdown). He is also a writer, educator, and speaker promoting the use of R for data science.