Blog Archives

magrittr 1.5

December 1, 2014
By
2014-12-02 22_48_10-Clipboard

(Posted on behalf of Stefan Milton Bache) Sometimes it’s the small things that make a big difference. For me, the introduction of our awkward looking friend, %>%, was one such little thing. I’d never suspected that it would have such an impact on the way quite a few people think and write R (including my

Read more »

rvest: easy web scraping with R

November 24, 2014
By
rvest: easy web scraping with R

rvest is new package that makes it easy to scrape (or harvest) data from html web pages, by libraries like beautiful soup. It is designed to work with magrittr so that you can express complex operations as elegant pipelines composed of simple, easily understood pieces. Install it with: install.packages("rvest") rvest in action To see rvest

Read more »

RSQLite 1.0.0

October 25, 2014
By
RSQLite 1.0.0

I’m very pleased to announce a new version of RSQLite 1.0.0. RSQLite is the easiest way to use SQL database from R: library(DBI) # Create an ephemeral in-memory RSQLite database con <- dbConnect(RSQLite::SQLite(), ":memory:") # Copy in the buit-in mtcars data frame dbWriteTable(con, "mtcars", mtcars, row.names = FALSE) #> TRUE # Fetch all results

Read more »

dplyr 0.3

October 13, 2014
By
dplyr 0.3

I’m very pleased to announce that dplyr 0.3 is now available from CRAN. Get the latest version by running: install.packages("dplyr") There are four major new features: Four new high-level verbs: distinct(), slice(), rename(), and transmute(). Three new helper functions between, count(), and data_frame(). More flexible join specifications. Support for row-based set operations. There are two

Read more »

devtools 1.6

October 2, 2014
By
devtools 1.6

Devtools 1.6 is now available on CRAN. Devtools makes it so easy to build a package that it becomes your default way to organise code, data and documentation. Learn more at http://r-pkgs.had.co.nz/. You can get the latest version with: install.packages("devtools") We’ve made a lot of improvements to the install and release process: Installation functions now

Read more »

testthat 0.9

September 23, 2014
By
testthat 0.9

testthat 0.9 is now available on CRAN. Testthat makes it easy to turn the informal testing that you’re already doing into formal automated tests. Learn more at http://r-pkgs.had.co.nz/tests.html This version of testthat has four important new features that bring testthat up to speed with unit testing frameworks in other languages: You can skip() tests with

Read more »

httr 0.5

September 3, 2014
By
httr 0.5

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

Read more »

httr 0.4

July 31, 2014
By
httr 0.4

httr 0.4 is now available on CRAN. The httr packages makes it easy to talk to web APIs from R. The most important new features are two new vignettes to help you get started and to help you make wrappers for web APIs. Other important improvements include: New headers() and cookies() functions to extract headers

Read more »

New data packages

July 23, 2014
By
New data packages

I’ve released four new data packages to CRAN: babynames, fueleconomy, nasaweather and nycflights13. The goal of these packages is to provide some interesting, and relatively large, datasets to demonstrate various data analysis challenges in R. The package source code (on github, linked above) is fully reproducible so that you can see some data tidying in

Read more »

Introducing tidyr

July 22, 2014
By
Introducing tidyr

tidyr is new package that makes it easy to “tidy” your data. Tidy data is data that’s easy to work with: it’s easy to munge (with dplyr), visualise (with ggplot2 or ggvis) and model (with R’s hundreds of modelling packages). The two most important properties of tidy data are: Each column is a variable. Each

Read more »