Dr. Ajay Kumar Koli \(\cdot\) 2nd SARA Bootcamp
Download R from this link: https://www.r-project.org/
Image source: https://r4ds.hadley.nz/
Addition
Subtraction
Sequence
Combine elements
Create an object
“The RStudio integrated development environment (IDE) is a set of tools built to help you be more productive with R and Python.”
Download RStudio from this link: https://posit.co/download/rstudio-desktop/
An overview of RStudio IDE.
Create project in RStudio.
Package is “a collection of functions, data and documentation that extends the capabilties of base R.”
# function to install R package
install.packages("tidyverse")
library(tidyverse) #fun to call r package“platform that allows developers to create, store, manage, and share their code.”
“It uses Git to provide distributed version control”
Source of information https://en.wikipedia.org/wiki/GitHub
git --versionSource https://github.com/about
usethis## install if needed (do this exactly once):
## install.packages("usethis")
library(usethis)
use_git_config(user.name = "ajay-kolii",
user.email = "mynameajay@gmail.com")Read more here: https://usethis.r-lib.org/articles/git-credentials.html
Run in console edit_git_config() from usethis package. OR
Run in Terminal git config --global --list
Read more here: https://usethis.r-lib.org/articles/git-credentials.html
It is a way to authenticate and interact with GitHub’s API and repositories without using your username and password.
.qmd FileCreate the file
Save the file
Render the file
Write a brief note describing your experience of using R and RStudio for the first time.
