WINDOWS
1. Download R
https://cran.r-project.org/bin/windows/base/
2. Download the hemoglobin data from Blackboard - course content - data sets
3. Import data into R
a. Go to File b. Change Dir... c. Select the Downloads folder or wherever you have the file located
d. Click OK
e. paste the following into R: hemo=read.csv("hemoglobin.csv")[,-1]
Your data set is now called hemo. You can type hemo in R and hit enter to see the data.
Anytime you use hemo in a function in R it knows you are referring to the data set.
In general, you can change hemo to whatever you would like to call the data set and you need to
replace hemoglobin with whatever the excel (.csv) file is called.
#################################################################################
MAC
1. Download R
https://cran.r-project.org/bin/macosx/
2. Download the hemoglobin data from Blackboard - course content - data sets
You will need to double finger click the file and then select "download linked file".
3. Import data into R
Type the following into R: hemo=read.csv("~/Downloads/hemoglobin.csv")[,-1]
If the excel (.csv) file is somewhere other than the downloads folder then you will need to change
the file path. Your data set is now called hemo. You can type hemo in R and hit enter to see the data.
Anytime you use hemo in a function in R it knows you are referring to the data set.
In general, you can change hemo to whatever you would like to call the data set and you need to
replace hemoglobin with whatever the excel (.csv) file is called.
#################################################################################
i-Pad and Chromebook
1. Download RStudio
https://posit.co/download/rstudio-desktop/
Scroll down and select the oppropriate operating system
2. Download the hemoglobin data from Blackboard - course content - data sets
3. Import data into R
https://thepracticalr.wordpress.com/2016/09/23/importing-data-into-r/
Follow the steps in the above link.