I\'m on ubuntu precise pangolin running inside a VM, using R 3.1 and Rstudio 0.98.507 and I\'m unable to install ggplot2
Here is the output :
install
If you dont have a swap file enabled and run out of ram the OOM (out of memory) killer will normally terminate the offending process. This exhibits itself in the manner described in the OP's question when attempting to install packages. To fix this a swap file should be enabled.
$ dd if=/dev/zero of=/swapfile bs=1024 count=512k
$ mkswap /swapfile
$ swapon /swapfile
You can change attributes for the swap file like swappiness see an example here.