Ubuntu 16.04 LTS
I am opening Rstudio using the terminal but i am still getting the error!!!
Please help me in fixing this problem.
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? Ankush
| Would you like to continue with one of these lessons?
1: R Programming Basic Building Blocks
2: R Programming Vectors
3: No. Let me start something new.
Selection: 3
| Please choose a course, or type 0 to exit swirl.
1: 14 310x Intro to R
2: Take me to the swirl course repository!
Selection: 1
| Please choose a lesson, or type 0 to return to course menu.
1: Welcome
2: Basic Building Blocks
3: Sequences of Numbers
4: Vectors
5: Missing Values
6: Subsetting Vectors
7: Matrices and Data Frames
8: Looking at Data
9: Base Graphics
Selection: 1
| | 0%
Error in gzfile(file, mode) : cannot open the connection
| Leaving swirl now. Type swirl() to resume.
When trying to create a new user it is showing following error as mentioned in the code below:
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? ankush97
| Thanks, ankush97. Let's cover a couple of 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: 14 310x Intro to R
2: Take me to the swirl course repository!
Selection: 1
| Please choose a lesson, or type 0 to return to course menu.
1: Welcome
2: Basic Building Blocks
3: Sequences of Numbers
4: Vectors
5: Missing Values
6: Subsetting Vectors
7: Matrices and Data Frames
8: Looking at Data
9: Base Graphics
Selection: 2
| | 0%
Error in gzfile(file, mode) : cannot open the connection
In addition: Warning message:
In dir.create(udat, recursive = TRUE) :
cannot create dir '/home/ankush/R/x86_64-pc-linux-gnu-library/3.4/swirl/user_data/ankush97', reason 'Permission denied'
Ubuntu 16.04 LTS I am opening Rstudio using the terminal but i am still getting the error!!! Please help me in fixing this problem. 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? Ankush
| Would you like to continue with one of these lessons?
1: R Programming Basic Building Blocks 2: R Programming Vectors 3: No. Let me start something new.
Selection: 3
| Please choose a course, or type 0 to exit swirl.
1: 14 310x Intro to R 2: Take me to the swirl course repository!
Selection: 1
| Please choose a lesson, or type 0 to return to course menu.
1: Welcome 2: Basic Building Blocks 3: Sequences of Numbers 4: Vectors 5: Missing Values 6: Subsetting Vectors 7: Matrices and Data Frames 8: Looking at Data 9: Base Graphics
Selection: 1
| | 0% Error in gzfile(file, mode) : cannot open the connection
| Leaving swirl now. Type swirl() to resume.
When trying to create a new user it is showing following error as mentioned in the code below: 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? ankush97
| Thanks, ankush97. Let's cover a couple of 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: 14 310x Intro to R 2: Take me to the swirl course repository!
Selection: 1
| Please choose a lesson, or type 0 to return to course menu.
1: Welcome 2: Basic Building Blocks 3: Sequences of Numbers 4: Vectors 5: Missing Values 6: Subsetting Vectors 7: Matrices and Data Frames 8: Looking at Data 9: Base Graphics
Selection: 2
| | 0% Error in gzfile(file, mode) : cannot open the connection In addition: Warning message: In dir.create(udat, recursive = TRUE) : cannot create dir '/home/ankush/R/x86_64-pc-linux-gnu-library/3.4/swirl/user_data/ankush97', reason 'Permission denied'
| Leaving swirl now. Type swirl() to resume.