catie Code Along Materials Software Instructions
- May 15, 2024
- catie
Table of Contents
Catie Code Along Materials Software
Specifications
- Software: CATIE2023 Code-Along Materials
- Requirements: R and R Studio (R version > 4.0)
Product Usage Instructions
SECTION 1: Steps to Download Code-Along Materials
- Download the entire zip file by clicking the download button on the top right.
- Ensure you have R and R Studio installed. You would need the latest version of R Studio and a version of R that is greater than 4.0.
- Download and unzip the file CATIE2023_code_along-main.zip.
- Open the folder CATIE2023_code_along-main.
- Double-click on the file called CATIE2023_code_along.Rproj. R Studio should automatically open, and the packages you need will be installed for you. This may take a few minutes, so please be patient.
SECTION 2: Instructions for Installing R and R Studio
-
Download and Install R:
- For Mac: Follow the appropriate download link based on your macOS version. Open the downloaded .pkg file and install R.
- For Windows: Download R for Windows and run the setup to install R.
-
Download and Install RStudio:
-
Download the installer for your OS from the provided link.
Install it as usual. -
Note: R code for this workshop will be presented in RStudio.
-
If prompted to install additional tools, choose “Not Now.”
-
-
Open RStudio to confirm it’s working.
FAQ:
Q: What do I do if I encounter issues during installation?
A: If you face any difficulties during installation, please reach out to our support team for assistance. We are here to help troubleshoot any issues you may encounter.
Software Instructions
Steps to Download Code-Along Materials
- Download the software files.
- Go to the CATIE website
- Scroll down to the light pink section.
- Under ‘Software Package’ Select ‘download’.
- Download the entire zip file by clicking the download button ( ) on the top right.
- Ensure you have R and R Studio installed (see section 2)
- You would need the latest version of R Studio and a version of R that is > 4.0
- Download and unzip the file CATIE2023_code_along-main.zip
- Open the folder CATIE2023_code_along-main
- Double-click on the file called CATIE2023_code_along.Rproj
- R Studio should automatically open and the packages you need will be installed for you. This may take a few minutes, but please be patient.
- Now, you may open the following files and run them:
- • V2_code_along.R
- • V2_code_along_answers.R
- • V3_code_along.R
- If your output looks like what you see below, then you are all set!
- Expected output of V2_code_along.R
- V2_code_along_output2.JPG [Expected output of V2_code_along.R]
- The expected output of V2_code_along_answers.R
- V3_code_along_output1.JPG [Expected output of V3_code_along.R]
- V3_code_along_output2.JPG [Expected output of V3_code_along.R]
- If you are not able to generate these output, do not worry! We are happy to help.
We will have office hours at the following times:
- Monday, May 8th from 10-11 AM ET (zoom link: https://umich.zoom.us/j/95884651968)
- Tuesday, May 9th from 10-11 AM ET (zoom link: https://umich.zoom.us/j/94733704798)
Instructions for Installing R and R Studio
- Download and Install R. If R is not installed on your computer, go to https://cran.rstudio.com and click the appropriate download link for your operating system.
- a. For Mac, first determine which version of macOS you’re running. To do this, click the Apple logo in the top left of the screen, then “About this Mac”
- If the version of macOS is 10.13 or higher, for Intel Macs, download the latest release of R here:
- If the version of macOS is 11 or higher, for M1 and higher Macs, download the latest release of R here:
- If the version of macOS is 10.11 or lower, download a legacy release of R:
- Once downloaded, open the .pkg file and follow the instructions to install.
- b. For Windows, click “base”, then “Download R 4.X.X for Windows”. Once the download is complete, run the setup to install R as you would like any other program.
- Download and Install RStudio. Go to https://posit.co/download/rstudio-desktop/ and download the appropriate installer for your OS.
- a. NOTE: R code for this workshop will be presented in RStudio
- b. You can install the software as usual.
- Note: If you’re prompted to install git, XCode, or command line tools, just say “Not Now”.
- Open RStudio to confirm it’s working.
References
- The Comprehensive R Archive Network
- RStudio Desktop - Posit
- Launch Meeting - Zoom
- Launch Meeting - Zoom
Read User Manual Online (PDF format)
Read User Manual Online (PDF format) >>