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
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
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
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
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
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
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 →

RStudio 1.2 Preview: SQL Integration

2018-10-02 Jonathan McPherson
The RStudio 1.2 Preview Release, available today, dramatically improves support and interoperability with many new programming languages and platforms, including SQL, D3, Python, Stan, and C++. Over the next few weeks on the blog, we’re going to be taking a look at improvements for each of these in turn. Today, we’re looking at SQL, and as a motivating example, we’re going to connect to a sample Chinook database to get a list of album titles. Read more →

sparklyr 0.9

2018-10-01 Javier Luraschi
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 →

RStudio Connect 1.6.8 - Emails, APIs, and Titles

2018-09-20 Sean Lopp
RStudio Connect 1.6.8 includes additions to custom emails, new user endpoints in the RStudio Connect Server API, support for content descriptions and title changes, and important security and authentication improvements. Updates R Markdown Reports have access to environment variables containing metadata about the report on RStudio Connect. This addition is especially important for custom emails. In case you missed it, recent versions of RStudio Connect allow data scientists to distribute beautiful emails that can include plots, tables, and dynamically generated text. Read more →