This is an empty repo to initialize an R project. Please follow the directions below to set up your project. The /deck
folder contains the slides and /live-code
the scripts created during the class -- which will be updated as we go along.
In order to get the most out of class you have to be working in this project. There are three ways to get this project on your computer.
Choose one of these methods:
- Posit Cloud
- Posit Workbench
- Local Rstudio
- Create a free account on posit.cloud then login.
- Click
New Project
in the top right. - Click
New project from Git Repository
. - Copy
https://github.com/joemarlo/irs-adv-r.git
to your clipboard then paste it into theURL of your Git Repository
and ClickOK
.
Moments later an RStudio GUI should appear with the content in the file system. In the top right, choose R 4.2.3 from the drop-down.
If your organization has Posit Workbench, you may use this.
- Sign in to your Workbench.
- Click
New Session
near the top. - Select
Rstudio Pro
thenStart Session
- Select
File
thenNew Project...
- Select
Version Control
thenGit
- Copy
https://github.com/joemarlo/irs-adv-r.git
to your clipboard then paste it in, ensure you are using R 4.2.X, and ClickCreate Project
This assumes you have R and Rstudio along with git
installed.
- Open Rstudio.
- Select
File
thenNew Project...
- Select
Version Control
thenGit
- Copy
https://github.com/joemarlo/irs-adv-r.git
to your clipboard then paste it in, ensure you are using R 4.2.X, and ClickCreate Project
If you're comfortable using command line, you may also clone the repo directly:
git clone https://github.com/joemarlo/irs-adv-r.git
After any of these methods you should have a new RStudio project called irs-adv-r. You can see this in the top right of RStudio (the name in the image may be different).
The project requires a number of R packages. These packages can be downloaded and installed via:
renv::restore()