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 →

RStudio 1.2 Preview - New Features in RStudio Pro

2018-11-05 Karl Feinauer
Thumbnail
Today, we’re continuing our blog series on new features in RStudio 1.2. If you’d like to try these features out for yourself, you can download a preview release of RStudio Pro 1.2. We’ve added some great new features to RStudio Pro for v1.2, which includes not only Server Pro, but also the new and improved Pro Desktop. Let’s get started! RStudio Server Pro The Job Launcher Perhaps the biggest new change in v1. Read more →

RStudio IDE Custom Theme Support

2018-10-29 RStudio Team
Thumbnail
We’re excited to announce that RStudio v1.2 has added support for custom editor themes. Custom editor themes will allow you to adjust the background color of the editor and syntax highlighting of code in RStudio to better suit your own personal style. New editor themes can be added to RStudio by importing a tmTheme or sharing an existing rstheme file. The tmTheme file format was first introduced for the TextMate editor, and has since become a standard theme format. Read more →

RStudio 1.2 Preview: Plumber Integration

2018-10-23 Gary Ritchie
Thumbnail
The RStudio 1.2 Preview Release makes it even easier to create RESTful Web APIs in R using the plumber package. plumber is a package that converts your existing R code to a web API using a handful of special one-line comments. RStudio 1.2 provides the following plumber-related productivity enhancements: push-button local server execution for development and testing easy API publishing to RStudio Connect automatic API documentation and interactive execution via Swagger create a new Plumber API project or add an API to an existing directory A full discussion of Web APIs and the plumber package is beyond the scope of this article; for a primer, check out: R Views: REST APIs and Plumber Read more →

Summer Intern Projects

2018-10-22 Becky Bajan
This summer we had five interns participate in our internship program. Each intern was here for 10 weeks and worked closely with a mentor or team. Everyone jumped right in and contributed quickly. We are excited about the progress our interns made and wanted to share it with you here! Fanny Chow (@Fannystats) worked with Max Kuhn on bootstrapping methods in the rsample package. Check out her blog post here. 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 →

Announcing RStudio Package Manager

2018-10-17 Sean Lopp
Thumbnail
We’re excited to announce the general availability of our newest RStudio professional product, RStudio Package Manager. RStudio Package Manager helps your team, department, or entire organization centralize and organize R packages. Get started with the 45 day evaluation today! With more than 13,000 packages in the R ecosystem, managing the packages you and your teams need can be challenging. R users naturally want the latest, but everyone benefits from reproducibility, stability, and security in production code. Read more →

RStudio 1.2 Preview: Stan

2018-10-16 RStudio Team
Thumbnail
We previously discussed improved support in RStudio v1.2 for SQL, D3, Python, and C/C++. Today, we’re excited to announce improved support for the Stan programming language. The Stan programming language makes it possible for researchers and analysts to write high-performance and scalable statistical models. Stan® is a state-of-the-art platform for statistical modeling and high-performance statistical computation. Thousands of users rely on Stan for statistical modeling, data analysis, and prediction in the social, biological, and physical sciences, engineering, and business. Read more →

RStudio 1.2 Preview: C/C++ and Rcpp

2018-10-11 RStudio Team
Thumbnail
We’ve now discussed the improved support in RStudio v1.2 for SQL, D3, and Python. Today, we’ll talk about IDE support for C/C++ and Rcpp. The IDE has had excellent support for C/C++ since RStudio v0.99, including: Tight integration with the Rcpp package Code completion Source diagnostics as you edit Code snippets Auto-indentation Navigable list of compilation errors Code navigation (go to definition) The major new C/C++ feature in RStudio v1. 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 →