Decision Mechanics

Insight. Applied.

  • Services
    • Decision analysis
    • Big data analysis
    • Software development
  • Articles
  • Blog
  • Privacy
  • Hire us

RStudio 1.0 released

November 2, 2016 By editor

RStudio have released version 1.0 of their eponymous R IDE. They are calling it their

…biggest [release] ever!

It certainly has a number of very significant features.

Integrated support for Spark

Spark and R are core tools for data scientists. While Spark has an R API, support for the machine learning libraries is lagging.

So, it’s great to hear that RStudio now has integrated support for Spark and the sparklyr package. sparklyr provides extensive access to Spark’s Machine Learning Library (MLlib) and, through the rsparkling extension package, access to H2O’s distributed machine learning algorithms.

RStudio can be used to manage connections to Spark and run R functions on data held in the cluster. Data is read and transformed using Hadley Wickham’s excellent dplyr data manipulation package.

R Notebooks

R Notebooks allow the creation of documents where computation can be interspersed with narrative. Code can be executed interactively and the document updated accordingly. Readers of an R Notebook can modify the code in-place, execute it and see the new output—e.g. an updated chart. This is a particularly powerful tool for teaching R and data science.

Code profiling

I’ve used the profvis package many times to rescue clients from an analysis tool that takes hours to run. profviz provides an interactive graphical display of where you R code is spending time or eating memory.

This has now been integrated into RStudio, so you can select a block of code, click a menu option and see a visual representation of your code’s performance characteristics.

What are you waiting for?

RStudio 1.0 is free and available now on Linux, OS X and Windows. Why are you still reading this? Go and download it.

Filed Under: Data analysis, Machine learning Tagged With: R, R Notebooks, RStudio, Spark, sparklyr

R Notebooks

October 6, 2016 By editor

RStudio have announced R Notebooks. This adds an interactive execution model to R Markdown documents.

In R Markdown documents text and code can be mixed to create active documents that perform and update analyses as they are run.

However, R Markdown documents are executed in batch mode. This makes them more suitable for reporting than for teaching and investigation.

With the introduction of R Notebooks, code segments in the R Markdown document can be edited and executed in isolation—making the whole experience much more interactive.

R Notebooks can be saved as text (HTML) files allowing them to be shared via GitHub, for example. The HTML files can be viewed in a standard web browser as static documents. However, when the files are opened in RStudio, the R Notebook is automatically recreated from the HTML.

Support is also provided for languages other than R, including Python, C and SQL.

For more information, check out the development team’s YouTube video.

Filed Under: Data science Tagged With: R, R Markdown, R Notebooks

Search

Subscribe to blog via e-mail

Subscribe via RSS

Recent posts

  • Spreadsheet error delays opening of children’s hospital
  • 16,000 coronavirus cases missed by Excel
  • 20 cognitive biases that affect your decision-making
  • The science of decision-making and data
  • Confidence intervals

Copyright © 2021 · Decision Mechanics Limited · info@decisionmechanics.com