Skip to main content

Downloading from GitHub

Most of our workshop materials can be found on GitHub.

With Posit/RStudio Cloud

If you’re working online in RStudio/Posit Cloud, log into your account, and then click the blue “New Project” button.  Choose “New Project from Git Repository” and enter the URL to the GitHub repository.  The materials will be pulled over into your project for you.

With Git

If you’re familiar with git and have it installed on your computer, you can clone the repository to download the files.

Without Git

1. Download the files as a .zip file

When downloading materials to your laptop, it is easiest to download the entire repository. To do this, go to the GitHub page for the workshop, click on the green Code button, then download the repository as a ZIP file.

The filename may be different than what’s in the picture.

2. Unzip the file

Find the downloaded .zip file on your computer, likely in your Downloads folder. Unzip it – usually by either double-clicking (this should work on a Mac) or right-clicking it and choosing an option to unzip or uncompress (more likely on a Windows laptop). Unzipping the file will create a directory (folder) named after the GitHub repository. Move this directory (folder) somewhere on your computer where you’ll be able to find it, like your Documents folder or Desktop.

Be careful: on some Windows systems, when you double-click a .zip file, it will open a preview of the contents without actually unzipping the file.  If you can’t find a folder with the files in it that you can move or copy to another location, it might just be a preview.  Ask the workshop instructors if you need help.

Follow instructions for your workshop as to what file to open.