Basic R Syntax

Learn the foundational skills for writing an R script from scratch, such as syntax, variables, and arithmetic operations.

R has six main components: base-R, the R console, CRAN, an IDE, scripts, and the working directory. This lesson will focus on base-R, the R console, scripts, and the IDE. We won’t be using any extensions from CRAN yet, and we won’t be setting up a working directory—these will be discussed in more detail in the upcoming lessons.

Get hands-on with 1200+ tech skills courses.