Question: In this assignment you will learn R by using swirl - R package. It will guide you by step - by - step process through

In this assignment you will learn R by using swirl - R package.
It will guide you by step-by-step process through a self-paced interactive learning environment. Assuming that you've already installed R and RStudio, you need to install swirl package. To install swirl package, type the following in R studio console:
install.packages("swirl")
and press Enter, then just type the following, pressing Enter after each line:
> library("swirl")
> swirl()
Select Option 1(i.e.,"R Programming" ). Complete the following exercises within "R Programming"
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
9: Functions
12: Looking at Data
Once the exercises are complete, upload the .Rhistory file in the blackboard. The .Rhistory file can be found in your working directory. You can locate the working directory by typing getwd() in Rstudio console .
To navigate through swirl you need to remember the following commands:
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.
-- Typing main() returns you to swirl's main menu.
-- Typing info() dis
Source on Save
Run
Source
insta71.packages("Swir1")
1:1(Top Level) :
RSCr
Console
Terminal
Background Jobs
R.R4.4.01
ype aemo(s tor some aemos, ne ip() tor on-itne nep, or
he7p. start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> insta77.packages ("swir7")
WARNING: Rtoo7s is required to build R packages but is not current7y instal7ed. lease download and instal7 the appropriate version of Rtools before proceeding:
https: // cran.
rstudio.com/bidisy
Instal7ing package into 'C/4.4'(as '7ib' is unspecified)
a7so instal7ing the dependencies "utfos" "pirdard. {pkgconfig',"sys', "crayon',
 In this assignment you will learn R by using swirl -

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!