April 15, 2011
If you:
- use Linux
- have just upgraded your R installation from 2.12 to 2.13
- installed some/all of your packages in your home area (e.g. ~/R/i486-pc-linux-gnu-library/2.12) and…
- …are wondering why R can’t see them any more
just do this:
# at a shell prompt
cp -r ~/R/i486-pc-linux-gnu-library/2.12 ~/R/i486-pc-linux-gnu-library/2.13
# in R console
update.packages(checkBuilt=TRUE, ask=FALSE)
# back to the shell
rm -rf ~/R/i486-pc-linux-gnu-library/2.12
update: corrected a typo; of course you need “cp -r”
Posted in computing, linux, R, statistics |
9 Comments »
November 2, 2009
Recording my Ubuntu upgrade experience has become something of a tradition, so here goes.
- Machine 1 (laptop, LG T1 Express Duo). Largely trouble-free. On-board soundcard not seen on reboot. Fixed (temporarily, lost on reboot) using “sudo alsa force-reload”.
- Machine 2 (various generic hardware, cobbled together over many years). Upgrade smooth until final restart, when machine froze. Rebooted to a blank screen. Fixed by swapping out ATI video card for old NVidia FX5200. Discovered that rsyslog is running riot due to a hot CPU and is trying to fill up /var/log.
- Machine 3 (Dell Optiplex GX550). Install froze at “stopping winbind server”. Rebooted with rescue CD, mounted and chroot-ed into Linux partition, tried “dpkg –force-all –configure -a”, but to no avail. Reinstalled in same partition, all is working well.
All in all, not very impressed. Canonical, could do better.
Posted in computing, linux |
3 Comments »
April 28, 2008
Nothing exciting – just a couple of notes on the Ubuntu upgrade experience from 7.10 to 8.04.
Read the rest…
Posted in computing, linux |
3 Comments »
October 19, 2007
- Never attempt to upgrade an Ubuntu distribution on the day of the new release
- If you do, don’t use your primary desktop machine
- Complex tasks that can trash a machine should not be performed after midnight
I only have myself to blame but still: I didn’t expect the upgrade manager to simply vanish midway through the procedure, leaving an unusable system. One thing that I have learned is not to panic. Provided /home is on a separate partition, you can always do a clean install from CD and restore your packages pretty quickly.
Not sure why I’m experiencing zen-like calm rather than seething rage – must be Friday.
Posted in computing, linux, web resources |
4 Comments »