R is an interpreter instead of compiled language.  Installing R Packages and Loading R Libraries are required first steps since R software only comes with base R installed. Only minimum R tasks can be performed with base R. R Studio is powerful user interface to access objects and data frames.

  • install.packages('tidyverse')
  • library(tidyverse) # load popular data management package
  • library(dplyr) # load common data management and sql package
  • install.packages("ggplot2") # Install & load ggplot2 package

  • library("ggplot2")
  • library() # display loaded libraries
  • .libPaths() # display path of each package
  • lsf.str("package:dplyr") # display dplyr functions
  • lsf.str("package:tidyverse") # display tidyverse functions

Base R Packages

Install R Packages and Load Libraries Exercises (Next Section)

  1. Install Tidyverse
  2. Load Tidyverse and dplyr packages 


How to import data and install packages [You Tube]

R Studio Server Setup: Virtual Private Server [You Tube]


How do I select an R package for my clinical workflow? Sean Lopp & Phil Bowsher [Common FAQs]

Installing Base-R and RStudio [YaRrr!]

R Studio Cloud Setup - New AccountBlog, Videos, Guide, Verify, Project Template

GitHub Validation Scripts: R-IQ-OQ, R-IQ-OQ-PQ, Test Plan [Installation Qualification, Operational Qualification, Performance Qualification]

SAS® 9.4 Installation Qualification Guide [Reference]

Setting up the R environment

R Packages: A Beginner's Tutorial

Difference between r-base and r-recommended packages

Load Packages Automatically in RStudio

> file.edit("~/Desktop/foo/.Rprofile") # This opens up a script window, within which you can enter in your library commands library(ggplot2) library(scales) library(plyr) library(reshape2)

An efficient way to install and load R packages

  • install.packages("librarian")
  • librarian::shelf(ggplot2, DesiQuintans / desiderata, pander)

How to load packages in R automatically

Powered by Wild Apricot Membership Software