Packages

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
Thumbnail
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
Thumbnail
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: https://www.rstudio.com/workshops/building-tidy-tools/ 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
Thumbnail
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
Thumbnail
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
Thumbnail
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 →

r2d3 - R Interface to D3 Visualizations

2018-10-05 RStudio Team
Thumbnail
As part our series on new features in the RStudio v1.2 Preview Release, we’re pleased to announce the r2d3 package, a suite of tools for using custom D3 visualizations with R. RStudio v1.2 includes several features to help optimize your development experience with r2d3. We’ll describe these features below, but first a bit more about the package. Features of r2d3 include: Translating R objects into D3 friendly data structures Read more →

sparklyr 0.9: Streams and Kubernetes

2018-10-01 Javier Luraschi
Thumbnail
Today we are excited to share that a new release of sparklyr is available on CRAN! This 0.9 release enables you to: Create Spark structured streams to process real time data from many data sources using dplyr, SQL, pipelines, and arbitrary R code. Monitor connection progress with upcoming RStudio Preview 1.2 features and support for properly interrupting Spark jobs from R. Use Kubernetes clusters with sparklyr to simplify deployment and maintenance. Read more →