R & RStudio

Dr. Ajay Kumar Koli, PhD ⋅ SARA Institute of Data Science, India

Whole Game


Image source: Wickham, Cetinkaya-Rundel, and Grolemund (2023)

R Programming Language




“R is a free software environment for statistical computing and graphics.”

Download R from this link: https://www.r-project.org/

Practice R Software

  1. Addition

  2. Subtraction

  3. Sequence

Structure of Function

Practice R Software

  1. Combine elements

  2. Create an object

RStudio IDE



“The RStudio integrated development environment (IDE) is a set of tools built to help you be more productive with R and Python.”

Download R from this link: https://posit.co/download/rstudio-desktop/

Practice in RStudio

  1. An overview of RStudio IDE.

  2. Create project in RStudio.

R Packages


“a collection of functions, data and documentation that extends the capabilties of base R.” (Wickham, Cetinkaya-Rundel, and Grolemund 2023)

Image source: On 29 Nov 2024 Metacran | CRAN.

Install R Packages

  • Using Console
install.packages("tidyverse")

library(tidyverse)
  • Using RStudio Windows

🤯 Your Turn


Write a brief note describing your experience of using R and RStudio for the first time.

15:00

References

Alston, Jesse M., and Jessica A. Rick. 2021. “A Beginner’s Guide to Conducting Reproducible Research.” The Bulletin of the Ecological Society of America 102 (2): e01801. https://doi.org/10.1002/bes2.1801.
Wickham, Hadley, Mine Cetinkaya-Rundel, and Garrett Grolemund. 2023. R for Data Science: Import, Tidy, Transform, Visualize, and Model Data. 2nd ed. edition. O’Reilly Media. https://r4ds.hadley.nz/.
1 / 13
R & RStudio Dr. Ajay Kumar Koli, PhD ⋅ SARA Institute of Data Science, India

  1. Slides

  2. Tools

  3. Close
  • R & RStudio
  • Whole Game
  • R Programming Language
  • Practice R Software
  • Structure of Function
  • Practice R Software
  • RStudio IDE
  • Slide 8
  • Practice in RStudio
  • R Packages
  • Install R Packages
  • 🤯 Your Turn
  • References
  • f Fullscreen
  • s Speaker View
  • o Slide Overview
  • e PDF Export Mode
  • r Scroll View Mode
  • ? Keyboard Help