learnr 0.10.0

2019-12-02 Barret Schloerke
Thumbnail learnr-sortable-demo.gif
learnr 0.10.0 has been released! In this version of learnr, quiz questions have been expanded to allow for more question types. Text box quiz questions have been implemented natively within learnr and ranking questions have been implemented using the sortable package. The learnr R package makes it easy to turn any R Markdown document into an interactive tutorial. Tutorials consist of content along with interactive components for checking and reinforcing understanding. Read more →

renv: Project Environments for R

2019-11-06 Kevin Ushey
We’re excited to announce that renv is now available on CRAN! You can install renv with: install.packages("renv") renv is an R dependency manager. Use renv to make your projects more: Isolated: Each project gets its own library of R packages, so you can feel free to upgrade and change package versions in one project without worrying about breaking your other projects. Portable: Because renv captures the state of your R packages within a lockfile, you can more easily share and collaborate on projects with others, and ensure that everyone is working from a common base. Read more →

Shiny 1.4.0

2019-10-15 Winston Chang
Shiny 1.4.0 has been released! This release mostly focuses on under-the-hood fixes, but there are a few user-facing changes as well. If you’ve written a Shiny app before, you’ve probably encountered errors like this: div("Hello", "world!", ) #> Error in tag("div", list(...)) : argument is missing, with no default This is due to a trailing comma in div(). It’s very easy to accidentally add trailing commas when you’re writing and debugging a Shiny application. Read more →

pins: Pin, Discover and Share Resources

2019-09-09 RStudio Team
Thumbnail thumbnail.png
Today we are excited to announce the pins package is available on CRAN! pins allows you to pin, discover and share remote resources, locally or in remote storage. If you find yourself using download.file() or asking others to download files before running your R code, use pin() to achieve fast, simple and reliable reproducible research over remote resources. Pins You can use the pins package to: Pin remote resources locally to work offline and cache results with ease, pin() stores resources in boards which you can then retrieve with pin_get(). Read more →

Shiny v1.3.2

2019-04-26 Joe Cheng
We’re excited to announce the release of Shiny v1.3.2. This release has two main features: a new reactivity debugging tool we call reactlog, and much faster serving of static file assets. Introducing reactlog: Visually debug your reactivity issues Debugging faulty reactive logic can be challenging, as we’ve written and talked about in the past. In particular, some of the most difficult Shiny app bugs to track down are when reactive expressions and observers re-execute either too often (i. Read more →

sparklyr 1.0: Apache Arrow, XGBoost, Broom and TFRecords

2019-03-15 Javier Luraschi
With much excitement built over the past three years, we are thrilled to share that sparklyr 1.0 is now available on CRAN! The sparklyr package provides an R interface to Apache Spark. It supports dplyr, MLlib, streaming, extensions and many other features; however, this particular release enables the following new features: Arrow enables faster and larger data transfers between Spark and R. XGBoost enables training gradient boosting models over distributed datasets. Read more →

Building tidy tools workshop

2019-03-08 Roger Oberg
Join RStudio Chief Data Scientist Hadley Wickham for his popular “Building tidy tools” workshop in Sydney, Australia! If you’d missed the sold out course at rstudio::conf 2019 now is your chance. Register here: You should take this class if you have some experience programming in R and you want to learn how to tackle larger-scale problems. You’ll get the most if you’re already familiar with the basics of functions (i. Read more →

Shiny 1.2.0: Plot caching

2018-11-13 Joe Cheng
We’re pleased to announce the CRAN release of Shiny v1.2.0! This release features Plot Caching, an important new tool for improving performance and scalability in Shiny apps. If you’re not familiar with the term “caching”, it just means that when we perform a time-consuming operation, we save (cache) the results so that the next time that operation is requested, we can skip the actual operation and instantly fetch the previously cached results. Read more →

shinytest - Automated testing for Shiny apps

2018-10-18 RStudio Team
Continuing our series on new features in the RStudio v1.2 preview release, we would like to introduce shinytest. shinytest is a package to perform automated testing for Shiny apps, which allows us to: Record Shiny tests with ease. Run and troubleshoot Shiny tests. shinytest is available on CRAN, supported in RStudio v1.2 preview and can be installed as follows: install.packages("shinytest") Recording Tests This is the general procedure for recording tests: Read more →

RStudio 1.2 Preview: Reticulated Python

2018-10-09 RStudio Team
One of the primary focuses of RStudio v1.2 is improved support for other languages frequently used with R. Last week on the blog we talked about new features for working with SQL and D3. Today we’re taking a look at enhancements we’ve made around the reticulate package (an R interface to Python). The reticulate package makes it possible to embed a Python session within an R process, allowing you to import Python modules and call their functions directly from R. Read more →