From the course: R Essential Training: Wrangling and Visualizing Data
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Packages for R
From the course: R Essential Training: Wrangling and Visualizing Data
Packages for R
- [Narrator] One of the great things about R, like many programming languages, is that it is extensible. By using packages, you can give additional functionality and capabilities to R that make it really so you can do nearly anything. Let me give you an example of how this works in a short script. I am running a command right here to check whether a package called pacman, which stands for package manager, is installed. If it's not installed, then we will run this command, install.packages("pacman"). So I'm going to run that one. Now it turns out, I already have pacman installed. I can come here to my packages. And you can see I've got it down here a little bit. I scroll down. Now I've already got pacman installed. You can come over to packages and you can search for it if you scroll down a little bit. There it is. It's installed. But I'm now going to use pacman to load several other packages. You can do this…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
Installing R1m 25s
-
(Locked)
Environments for R3m 31s
-
(Locked)
Installing RStudio1m 17s
-
(Locked)
Navigating the RStudio environment6m 4s
-
(Locked)
Entering data7m 5s
-
(Locked)
Data types and structures12m 24s
-
(Locked)
Comments and headers4m 59s
-
(Locked)
Packages for R4m 46s
-
(Locked)
The tidyverse3m 4s
-
(Locked)
Piping commands with %>%4m 33s
-
-
-
-
-
-