Then you will call the function that starts the magic! Type the following, pressing Enter after each line: > library('swirl') First, you will load the package using the library() function. This is the only step that you will repeat every time you want to run swirl. We include it here so you know that this command is to be typed into the console and not elsewhere. Note that the > symbol at the beginning of the line is R's prompt for you type something into the console. Open RStudio (or just plain R if you don't have RStudio) and type the following into the console: Select the appropriate installer for your operating system. If you need to install RStudio, you can do so here. Make your experience with R much more enjoyable. In addition to R, it’s highly recommended that you install RStudio, which will If you need to install R, you can do so here.įor help installing R, check out one of the following videos (courtesy of Roger If you are on a Linux operating system, please visit In order to run swirl, you must have R 3.1.0 or later installed on yourĬomputer. Through each of the steps required to begin using swirl today! Step 1: Get R The swirl R package makes it fun and easy to learn R programming and data