rStudio Flat

R Packages

If you go to, it’s the main site for the Comprehensive R Archive Network. Instructions for downloading R and lists of all the various packages written and accessible in R are listed at this site. You can also search by a function with the letter R in the search to find packages through most browsers.

R adds new and revised packages to the system all the time, so you can check for new packages or check for updates for packages you may have downloaded.When you click on a package name, you will be presented with an overview of the program and who created it. You’ll see a link in the middle of the summary referring to the manual or vignette for the package. Many of the manuals to the R packages are called vignettes. They will give you a PDF document with more information about the package and all of the different options for running it. They often include examples of how to run the package and some have sample data sets to try the package on.

R Studio is also recommended as a download. It’s a front-end for R to make it easier to work with. This front-end breaks the main interface into four quadrants. This will make R easier to work with. R Studio also makes some additional collections of material available. They include:

See more packages and cheatsheets here at

The Rstudio Desktop version and the Rstudio Server version are available at for free. You’ll be interested in the desktop version of the program for this class. Learn more about Installing R here.

Installing Packages


Loading Libraries

After installing the package you must then load the library in order to use it.


Auto Load Packages

packages <- c("tidyverse")

packages <- lapply(packages, FUN = function(x) {

if(!require(x, character.only = TRUE)) {install.packages(x)

library(x, character.only = TRUE)}})

Sabalico Logo
Sabali Mail Logo
Domain Search Logo
Test Speed Logo
Website On Logo
Page Load Logo
Code Editor Logo
Format Code Logo
HTML Validator Logo
CSS Validator Logo
ASCII Table Logo
HTML Symbols Logo
Emoji Symbols Logo
Encode File Logo
Sitemap Generator Logo
Generator Password Logo
QR Code Generator Logo
Barcode Generator Logo
Online Sign Logo
Dictionary Online Logo
Counter Word Logo
Text Convert Logo
Lorem Ipsum Generator Logo
Sprite Sheet Logo
Edit Picture Logo
Resize Image Logo
Image Compress Logo
Image Color Logo
Image Crop Logo
Combine Images Logo
Favicon Generator Logo
Color Palette Logo
Color Picker Logo
Color Mix Logo
Color Convert Logo
CSS Gradient Logo
To-Do List Logo
Calendar Free Logo
Generator Meme Logo
Word Spinner Logo
Phone Country Logo
Sabalytics Logo
Senty Logo
World Map Logo
SEO Guide Logo
Keyword Tool Logo
What is my IP Logo
My Device Logo
My Browser Logo
My Location Logo
Time Zone Logo
Day Map Logo
My Weather Logo
My Galaxy Logo
The Moon Logo
Periodic Table Logo
rStatistics Logo
Unit Convert Logo
Data Convert Logo
Coordinate Converter Logo
Temperature Convert Logo
2020 Election Logo
Sabali Finance Logo
Currency Convert Logo
Free Calculator Logo
Finance Calculator Logo
Loan Calculator Logo
Calculator Mortgage Logo
Stock Calculator Logo
Bond Calculator Logo
Tax Calculator Logo
Tip Calculator Logo
Gas Mileage Logo
History of Humanity - History Archive Logo
History of Humanity - History Mysteries Logo
History of Humanity - Ancient Mesopotamia Logo
History of Humanity - Egypt History Logo
History of Humanity - Persian Empire Logo
History of Humanity - Greek History Logo
History of Humanity - Alexander the Great Logo
History of Humanity - Roman History Logo
History of Humanity - Punic Wars Logo
History of Humanity - Golden Age of Piracy Logo
History of Humanity - Revolutionary War Logo
History of Humanity - Mafia History Logo