bash-4.3$ which R /usr/bin/R bash-4.3$ which r /usr/bin/r bash-4.3$ R R version 3.3.1 (2016-06-21) -- "Bug in Your Hair" Copyright (C) 2016 The R Foundation for Statistical Computing Platform: x86_64-redhat-linux-gnu (64-bit) R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. Natural language support but running in an English locale R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. [1] "Hello world!" Welcome to Slade's R! > 9 [1] 9 > library(swirl) | Hi! I see that you have some variables saved in your workspace. To keep | things running smoothly, I recommend you clean up before starting swirl. | Type ls() to see a list of the variables in your workspace. Then, type | rm(list=ls()) to clear your workspace. | Type swirl() when you are ready to begin. > swirl() | Welcome to swirl! | Please sign in. If you've been here before, use the same name as you did | then. If you are new, call yourself something unique. What shall I call you? S | Thanks, S. Let's cover a few quick housekeeping items before we begin our | first lesson. First of all, you should know that when you see '...', that | means you should press Enter when you are done reading and ready to continue. ... <-- That's your cue to press Enter to continue | Also, when you see 'ANSWER:', the R prompt (>), or when you are asked to | select from a list, that means it's your turn to enter a response, then press | Enter to continue. Select 1, 2, or 3 and press Enter 1: Continue. 2: Proceed. 3: Let's get going! Selection: 1 | You can exit swirl and return to the R prompt (>) at any time by pressing the | Esc key. If you are already at the prompt, type bye() to exit and save your | progress. When you exit properly, you'll see a short message letting you know | you've done so. | When you are at the R prompt (>): | -- Typing skip() allows you to skip the current question. | -- Typing play() lets you experiment with R on your own; swirl will ignore | what you do... | -- UNTIL you type nxt() which will regain swirl's attention. | -- Typing bye() causes swirl to exit. Your progress will be saved. | -- Typing main() returns you to swirl's main menu. | -- Typing info() displays these options again. | Let's get started! ... | Please choose a course, or type 0 to exit swirl. 1: Data Analysis 2: ErrFind 3: Exploratory Data Analysis 4: Getting and Cleaning Data 5: Mathematical Biostatistics Boot Camp 6: Open Intro 7: R Programming 8: R Programming Alt 9: Regression Models 10: Statistical Inference 11: Writing swirl Courses 12: Take me to the swirl course repository! Selection: 7 | Please choose a lesson, or type 0 to return to course menu. 1: Basic Building Blocks 2: Workspace and Files 3: Sequences of Numbers 4: Vectors 5: Missing Values 6: Subsetting Vectors 7: Matrices and Data Frames 8: Logic 9: Functions 10: lapply and sapply 11: vapply and tapply 12: Looking at Data 13: Simulation 14: Dates and Times 15: Base Graphics Selection: 1 | | 0%Error in gzfile(file, mode) : cannot open the connection In addition: Warning message: In dir.create(udat, recursive = TRUE) : cannot create dir '/usr/lib64/R/library/swirl/user_data', reason 'Permission denied' | Leaving swirl now. Type swirl() to resume. > swirl() | Welcome to swirl! | Please sign in. If you've been here before, use the same name as you did | then. If you are new, call yourself something unique. What shall I call you? S | Thanks, S. Let's cover a few quick housekeeping items before we begin our | first lesson. First of all, you should know that when you see '...', that | means you should press Enter when you are done reading and ready to continue. ... <-- That's your cue to press Enter to continue | Also, when you see 'ANSWER:', the R prompt (>), or when you are asked to | select from a list, that means it's your turn to enter a response, then press | Enter to continue. Select 1, 2, or 3 and press Enter 1: Continue. 2: Proceed. 3: Let's get going! Selection: 1 | You can exit swirl and return to the R prompt (>) at any time by pressing the | Esc key. If you are already at the prompt, type bye() to exit and save your | progress. When you exit properly, you'll see a short message letting you know | you've done so. | When you are at the R prompt (>): | -- Typing skip() allows you to skip the current question. | -- Typing play() lets you experiment with R on your own; swirl will ignore | what you do... | -- UNTIL you type nxt() which will regain swirl's attention. | -- Typing bye() causes swirl to exit. Your progress will be saved. | -- Typing main() returns you to swirl's main menu. | -- Typing info() displays these options again. | Let's get started! ... | Please choose a course, or type 0 to exit swirl. 1: Data Analysis 2: ErrFind 3: Exploratory Data Analysis 4: Getting and Cleaning Data 5: Mathematical Biostatistics Boot Camp 6: Open Intro 7: R Programming 8: R Programming Alt 9: Regression Models 10: Statistical Inference 11: Writing swirl Courses 12: Take me to the swirl course repository! Selection: 8 | Please choose a lesson, or type 0 to return to course menu. 1: Basic Building Blocks 2: Sequences of Numbers 3: Vectors 4: Missing Values 5: Subsetting Vectors 6: Matrices and Data Frames 7: Logic 8: Functions 9: lapply and sapply 10: vapply and tapply 11: Looking at Data 12: Simulation 13: Dates and Times Selection: 1 | | 0%Error in gzfile(file, mode) : cannot open the connection In addition: Warning message: In dir.create(udat, recursive = TRUE) : cannot create dir '/usr/lib64/R/library/swirl/user_data', reason 'Permission denied' | Leaving swirl now. Type swirl() to resume. > Save workspace image? [y/n/c]: n bash-4.3$