Workshop Prerequisites

BioEngineeR 2026 | Data Analysis with R

Organised by

Department of Bioengineering, IISc Bangalore

Overview

Welcome to BioEngineeR 2026! The next steps will guide you through the software installation and self-paced learning required before the workshop. Please complete these prerequisites before the workshop begins.

NoteEstimated Time

3-4 hours (including installation and self-paced learning)

1. Software Installation

1.1 Install R

R is a free, open-source programming language for statistical computing and graphics.

  1. Visit CRAN R Project
  2. Click “Download R-4.x.x for Windows” (latest version)
  3. Run the downloaded .exe file
  4. Follow the installation wizard (accept all defaults)
  5. Click Finish when complete
  6. Optional Step (Recommended): Install RTools (http://cran.r-project.org/bin/windows/Rtools/)
  1. Visit CRAN R Project for macOS
  2. Download the appropriate version:
    • Apple Silicon (M1/M2/M3): R-4.x.x-arm64.pkg
    • Intel Mac: R-4.x.x-x86_64.pkg
  3. Open the downloaded .pkg file
  4. Follow the installation prompts
  5. Move R to your Applications folder
  6. Optional Step (Recommended): Install RTools (https://mac.r-project.org/tools/)

1.2 Install RStudio

RStudio is an integrated development environment (IDE) that makes working with R much easier.

  1. Visit Posit Downloads
  2. Scroll to “RStudio Desktop” section
  3. Choose Operating System
  4. Click “Download RStudio”
  5. Run the downloaded .exe/.dmg file
  6. Follow installation wizard (Windows)/ Drag RStudio to your Applications folder (Mac)

1.3 Verify Installation

  1. Open RStudio (not R)
  2. In the Console pane (bottom-left), type:
R.version.string
  1. You should see output like: "R version 4.5.x (202x-xx-xx)"
TipTroubleshooting

If you encounter installation issues, consult you can email me at dr.arunmitra@gmail.com

2. RStudio Interface Overview

RStudio is an integrated development environment (IDE) designed to help you be more productive in your daily data science work.

After you have installed R and RStudio, you are ready to begin this section!

When you start RStudio, you’ll see four key regions or “panes” in the interface: the Source pane, the Console pane, the Environment pane and the Output Pane.

RStudio Panes

  1. The Source pane is where you can edit and save R or Python scripts or author computational documents like Quarto and R Markdown.

  2. The Console pane is used to write short interactive R commands.

  3. The Environment pane displays temporary R objects as created during that R session.

  4. The Output pane displays the plots, tables, or HTML outputs of executed code along with files saved to disk.

A screenshot of the RStudio UI. There are 4 primary panes, the source, console, environment, and output panes.

Blank slate

When you quit R, do not save the workspace to an .Rdata file. When you launch, do not reload the workspace from an .Rdata file. Long-term reproducibility is enhanced when you turn this feature off and clear R’s memory at every restart. Starting with a blank slate provides timely feedback that encourages the development of scripts that are complete and self-contained.

In RStudio, set this via Tools > Global Options, making sure to clear “Restore .RData into Workspace at Startup” and choosing Never on the “Save workspace to .RData on exit”.

A screenshot of Tools > Global Options in RStudio. It highlights turning off the saving of workspace and restoration of .RData into workspace.

RStudio Projects

RStudio projects make it straightforward to divide your work into multiple contexts, each with their own working directory, workspace, history, and source documents.

To create a new project in the RStudio, use the File > New Project command.

In the New Project wizard that pops up, select New Directory, then New Project. Name the project “hello-ggplot2” and then click the Create Project button.

This will launch you into a new RStudio Project inside a new folder called “hello-ggplot2”.

RStudio projects give you a solid workflow that will serve you well in the future:

  • Create an RStudio project for each data analysis project.

  • Keep data files there; we’ll talk about loading them into R in Local Data.

  • Keep scripts there; edit them, run them in bits or as a whole.

  • Save your outputs (plots and cleaned data) there.

Everything you need is in one place, and cleanly separated from all the other projects that you are working on.

Before the workshop, familiarize yourself with RStudio’s four main panes:

Pane Location Purpose
Source Top-left Write and edit R scripts
Console Bottom-left Run R commands interactively
Environment Top-right View loaded data and objects
Files/Plots/Help Bottom-right Navigate files, view plots, access documentation

3. R Programming Basics

Complete the following self-paced learning (~2 hours) to build foundational skills.

Core Concepts to Learn

Before the workshop, ensure you understand:

Step 1: Programming Basics Practice R directly in your browser — no installation needed: https://r-primers.andrewheiss.com/basics/02-programming-basics/

Step 2: Workflow Basics Read this chapter from R for Data Science (2e): https://r4ds.hadley.nz/workflow-basics.html

Download Cheatsheets

Keep these handy during the workshop:

Pre-Workshop Checklist

Before the workshop, please confirm: •⁠ ⁠[ ] R installed (version 4.5+) •⁠ ⁠[ ] RStudio installed and working •⁠ ⁠[ ] Completed Programming Basics primer •⁠ ⁠[ ] Read Workflow Basics chapter •⁠ ⁠[ ] Watched the video tutorials •⁠ ⁠[ ] Downloaded Cheatsheets

WarningNeed Help?

If you encounter any installation issues, please reach out to at dr.arunmitra@gmail.com

Contact

Shayna,
Department of Bioengineering, IISc Bangalore.
+91 9611564411