Skip to content

Latest commit

 

History

History
50 lines (25 loc) · 2.35 KB

README-Intro-RStudio.md

File metadata and controls

50 lines (25 loc) · 2.35 KB

R-workshops

Welcome to the wonderful world of R and Rstudio!

For many (data analysts, scicentists, statisticians) this is well-known and loved, for others (programmers, developers, engineers) some sort of dark art threatening python in unknown ways.

Some introductory R notebooks for Jupyter and RStudio in the Watson Studio environment.

Thhere are lots of samples available for python notebooks for Jupyter, and hence for Watson Studio; Here, you will find a selection of similar notebooks, but which use the R runtime environment, instead of Python.

Half of the notebooks are intended for experimenting with the R language in a Jupyter environment, the rest should be explored using RStudio.

rstudio

To get the most from this workshop, you will need an existing IBM Cloud account - if you don't have one yet, sign up for a free IBM Cloud account at http://ibm.biz/rstudio.

Check out python pandas workshop for details of creating a Watson Studio instance.

RStudio overview

A taster of RStudio - it's a full-blown Integrated Development Environment (IDE) for the R language.

Try it out

Baby steps

To get you going, and feeling comfortable with the R language, and show it's not too far away from Python, we'll try some simple statements, and explore data structures.

Then we can try out programming consructs, error handling and building functions.

To tie it together, we can tackle a bit of data visualisation with plotting and charting, as well as mapping with OpenStreetMap and Leaflet for R.

go to the intro labs

Making apps - Shiny

RStudio provides a mechanism for taking your R code and publishing as a web application - this is based around the Shiny application framework.

Shiny makes it relatively easy to convert data exploration tasks and visualisations into interactive web apps.

covid shiny

let's take a look a building your own Hello World with RStudio and Shiny.

go to Shiny lab


Examples from Cognitive Class are Copyright © 2016 .