R is a programming language and free software environment for statistical computing and graphics
RStudio is an integrated development environment for R, a programming language for statistical computing and graphics
R packages are a collection of R functions, complied code and sample data. They are stored under a directory called “library” in the R environment.