Getting Started with R - shivangivaghela138665-coder/Rprogramming GitHub Wiki
Welcome to the Rprogramming wiki!
Getting Started with R
This page explains how to run scripts in this repository.
Running Basics
- Open RStudio or run
Rscript filename.Rin terminal. - Example:
source("basic/vectors.R")
Example: x <- c(1, 2, 3, 4) mean(x) # Output: 2.5