Introducing tidyr

2014-07-22 Hadley Wickham
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 row is an observation. Arranging your data in this way makes it easier to work with because you have a consistent way of referring to variables (as column names) and observations (as row indices). Read more →

RStudio presents Essential Tools for Data Science with R

2014-07-16 Roger Oberg
The RStudio team recently rolled out new capabilities in RStudio, shiny, ggvis, dplyr, knitr, R Markdown, and packrat. The “Essential Tools for Data Science with R” free webinar series is the perfect place to learn more about the power of these R packages from the authors themselves. Click to learn more and register for one or more webinar sessions. You must register for each separately. If you miss a live webinar or want to review them, recorded versions will be available to registrants within 30 days. Read more →

Introducing ggvis

2014-06-23 Winston Chang
Our first public release of ggvis, version 0.3, is now available on CRAN. What is ggvis? It’s a new package for data visualization. Like ggplot2, it is built on concepts from the grammar of graphics, but it also adds interactivity, a new data pipeline, and it renders in a web browser. Our goal is to make an interface that’s flexible, so that you can compose new kinds of visualizations, yet simple, so that it’s accessible to all R users. Read more →

Shiny 0.10

2014-06-20 Joe Cheng
Shiny 0.10 is now available on CRAN. Interactive documents In this release, the biggest changes were under the hood to support the creation of interactive documents. If you haven’t had a chance to check out interactive documents, we really encourage you to do so—it may be the easiest way to learn Shiny. New layout functions Three new functions—flowLayout(), splitLayout(), and inputPanel()—were added for putting UI elements side by side. Read more →

R Markdown v2

2014-06-18 Yihui Xie
People rarely agree on a best authoring tool or language. Some people cannot live without \LaTeX{} because of the beauty and quality of its PDF output. Some \feel{} \uncomfortable{} \with{} \backslashes{}, and would rather live in another World Word. We have also witnessed the popularity of Markdown, an incredibly simple language (seriously? a LANGUAGE?) that has made reproducible research much easier. Thinking of all these tools and languages, every developer will dream about “One ring to rule them all”. Read more →

dplyr 0.2

2014-05-21 Hadley Wickham
I’m very excited to announce dplyr 0.2. It has three big features: improved piping courtesy of the magrittr package a vastly more useful implementation of do() five new verbs: sample_n(), sample_frac(), summarise_each(), mutate_each and glimpse(). These features are described in more detail below. To learn more about the 35 new minor improvements and bug fixes, please read the full release notes. Improved piping dplyr now imports %>% from the magrittr package by Stefan Milton Bache. Read more →

roxygen2 4.0.1

2014-05-19 Hadley Wickham
We’re pleased to announce a new version of roxygen2. Roxygen2 allows you to write documentation comments that are automatically converted to R’s standard Rd format, saving you time and reducing duplication. This release is a major update that provides enhanced error handling and considerably safer default behaviour. Roxygen2 now adds a comment to all generated files so that you know they shouldn’t be edited by hand. This also ensures that roxygen2 will never overwrite a file that it did not create, and can automatically remove files that are no longer needed. Read more →

reshape2 1.4; Kevin Ushey joins Rstudio

2014-05-09 Hadley Wickham
reshape2 1.4 is now available on CRAN. This version adds a number of useful arguments and messages, but mostly importantly it gains a C++ implementation of This new method should be much much faster (>10x) and does a better job of preserving existing attributes. For full details, see the release notes on github. The C++ implementation of melt was contributed by Kevin Ushey, who we’re very pleased to announce has joined RStudio. Read more →

devtools 1.5

2014-04-08 Hadley Wickham
devtools 1.5 is now available on CRAN. It includes four new functions to make it easier to add useful infrastructure to packages: add_test_infrastructure() will create testthat infrastructure when needed. add_rstudio_project() adds an Rstudio project file to your package. add_travis() adds a basic template for travis-ci. add_build_ignore() makes it easy to add files to .Rbuildignore, escaping special characters as needed. We’ve also bumped two dependencies: devtools now requires R 3. Read more →

httr 0.3

2014-03-21 Hadley Wickham
We’re very pleased to announce the release of httr 0.3. httr makes it easy to work with modern web apis so that you can work with web data almost as easily as local data. For example, this code shows how might find the most recently asked question about R on stackoverflow: # install.packages("httr") library(httr) # Find the most recent R questions on stackoverflow r <- GET( "", path = "questions", query = list( site = "stackoverflow. Read more →