Updates to R packages rarely time up with our terms, often requiring updates to either R or other packages in the middle of the semester causing lost time in the classroom. Each term we will update this page to include a repository you and your students can use to keep your packages consistent throughout the term. We will ensure the repository is compatible with the version of R and R-Studio installed in all virtual and physical labs. The instructions below include how to point R-Studio to our 'Semester Locked Repository', getting the latest packages from the SU Package Manager, as well as getting the latest packages from CRAN.
Fall 2020 Package Repository - SU Package Manager
- Open RStudio
- Navigate to Tools > Global Options...
- On the Options menu, click on Packages located on the left-hand menu
- Under Primary CRAN repository, click Change
- Under Custom, enter http://r-packages.syr.edu:4242/prod-cran/306
- Click OK
- Click Apply
Latest Packages Repository - SU Package Manager
- Open RStudio
- Navigate to Tools > Global Options...
- On the Options menu, click on Packages located on the left-hand menu
- Under Primary CRAN repository, click Change
- Under Custom, enter http://r-packages.syr.edu:4242/prod-cran/latest
- Click OK
- Click Apply
CRAN Latest - RStudio
In the case that a package isn't updated in the Latest Packages Repository, the link is malfunctioning, or the link was lost you can use the Global CRAN repository to fulfill your R packages needs.
- Open RStudio
- Navigate to Tools > Global Options...
- On the Options menu, click on Packages located on the left-hand menu
- Under Primary CRAN repository, click Change
- Under CRAN Mirrors, click on Global (CDN) - RStudio
- Click OK
- Click Apply