Existing documentation for installing iNZight on Ubuntu covers a wide range of possible scenarios in Step 1. For my own specific case, however, I needed to translate it into a series of precise step-by-step instructions.
So here are the instructions that worked for me for Step 1. Once that is done, just follow steps 2 onwards in the official docs.
STEP 1 STEP-BY-STEP
It is probably best you don’t already have R already installed. And if you’re using iNZight, you probably won’t. But if you do, purge it! Installation may or may not work depending on the version of R you install so remove one source of difference from what the support people will have tested.
ctrl-alt-t
to open terminal windowsudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E084DAB9
sudo gedit /etc/apt/sources.list
and then append
deb-src http://cran.stat.auckland.ac.nz/bin/linux/ubuntu saucy/
Note: must have trailing slash (/) at end- Click on “Save” button on toolbar or enter ctrl s on keyboard to save
sudo apt-get update
sudo apt-get install r-base
- Open R by typing R into terminal
- From R prompt:
update.packages(ask = FALSE)
y to everything
q("no")
to quit the R prompt.
- Then follow steps 2 onwards in the official instructions …