catie Code Along Materials Software Instructions

May 15, 2024
catie

Catie Code Along Materials Software

catie-Code-Along-Materials-Software-PRODUCT

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

  1. Download the entire zip file by clicking the download button on the top right.
  2. 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.
  3. Download and unzip the file CATIE2023_code_along-main.zip.
  4. Open the folder CATIE2023_code_along-main.
  5. 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

  1. 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.
  2. 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.”

  3. 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

  1. Download the software files.
    • Go to the CATIE website
    • Scroll down to the light pink section.
    • Under ‘Software Package’ Select ‘download’.
  2. Download the entire zip file by clicking the download button ( ) on the top right.
  3. 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
  4. Download and unzip the file CATIE2023_code_along-main.zip
  5. Open the folder CATIE2023_code_along-main
  6. 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.
  7. Now, you may open the following files and run them:
    • • V2_code_along.R
    • • V2_code_along_answers.R
    • • V3_code_along.R
  8. If your output looks like what you see below, then you are all set!
  • Expected output of V2_code_along.Rcatie-Code-Along-Materials-Software-FIG-2
  • V2_code_along_output2.JPG [Expected output of V2_code_along.R]catie-Code-Along-Materials-Software-FIG-3
  • The expected output of V2_code_along_answers.Rcatie-Code-Along-Materials-Software-FIG-4
  • V3_code_along_output1.JPG [Expected output of V3_code_along.R]catie-Code-Along-Materials-Software-FIG-5
  • V3_code_along_output2.JPG [Expected output of V3_code_along.R]catie-Code-Along-Materials-Software-FIG-6
  • 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:

Instructions for Installing R and R Studio

  1. 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. catie-Code-Along-Materials-Software-FIG-7
    • 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”catie-Code-Along-Materials-Software-FIG-8
    • If the version of macOS is 10.13 or higher, for Intel Macs, download the latest release of R here:catie-Code-Along-Materials-Software-FIG-11
    • If the version of macOS is 11 or higher, for M1 and higher Macs, download the latest release of R here:catie-Code-Along-Materials-Software-FIG-12
    • If the version of macOS is 10.11 or lower, download a legacy release of R:catie-Code-Along-Materials-Software-FIG-13
    • 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.catie-Code-Along-Materials-Software-FIG-9
  2. 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 RStudiocatie-Code-Along-Materials-Software-FIG-10
    • 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”.
  3. Open RStudio to confirm it’s working.

References

Read User Manual Online (PDF format)

Read User Manual Online (PDF format)  >>

Download This Manual (PDF format)

Download this manual  >>

Related Manuals