-
Notifications
You must be signed in to change notification settings - Fork 2
Updating R on vulcan
It's that time again where we need to update R. Woohooo!!! (said no one ever)
Anyways heres some tips and commands I ran to update R from 3.5.1 to 3.6.0
First we need to take a look at the apt source list which we can do with the following command:
sudo less /etc/apt/sources.list
For R 3.6.0 we need to make sure we have the right repo in the source list which in this case was:
deb https://cloud.r-project.org/bin/linux/ubuntu xenial-cran35/
We next need to make sure to remove any other cran sources from the source-list (if we don't installation will start mixing packages from different sources) (WHICH IS VERY BAD!!!)
Once your sure there are no other cran sources in /etc/apt/sources.list we can go ahead and run:
sudo apt-get install r-base
This should reinstall R with the lastest version (assuming you picked the right repo source from earlier). Once this is done make sure to restart any Rstudio sessions that were running and reinstall any packages you were using!
- Setting up a Miniconda Environment
- tmux Quick Reference
- Customizing Matplotlib
- SSH Tunneling to use RStudio Server
- SSH Tunneling to use Jupyter Notebooks
- Servers
- Using the shared conda environments on vulcan/kronos
- Backups and Extra Storage
- Using Dropbox to archive files
- Requesting IT Support
- Microbiome Helper Tools Install
- Other System-wide Installations
- Adding a New User
- Restarting ssh-guard
- Updating R
- Using Compute Canada servers
- Folder encryption
