First a disclosure – I will be getting two free e-books for promoting the Packt Sale ;-). But I wouldn’t bother writing this up unless I thought Packt books would be of some value to me – so that makes it a genuine endorsement. For reference, here are the three I’m weighing up:
- Learning IPython for Interactive Computing and Data Visualization
- Git: Version Control for Everyone
- Responsive Web Design with jQuery
Apparently the deal is:
- Unlimited purchases during the offer period
- Offer is automatically applied at checkout
I procrastinated a bit so there are only a couple of days left (ends 26th March). So be fast! Here’s the promotion link
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 window
sudo 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
to quit the R prompt.
- Then follow steps 2 onwards in the official instructions …
Get the appropriate version of the VirtualBox extension pack installed – I found the correct version in here: Download VirtualBox (Old Builds): VirtualBox 4.2
Add self to vboxusers group as per Set up USB for Virtualbox. Must reboot for change to take effect.
sudo usermod -aG vboxusers
Then follow the additional steps. For Windows XP at least, must add a filter before opening so that the USB is recognised by the File Manager and displayed as an extra drive.