I'm trying to install the R package "raster", and am getting the same error reported here: Can not install ggplot package in R 2.14.1. I thought the best way of dealing with this would be to upgrade R, but I did the incantations here http://cran.r-project.org/bin/linux/ubuntu/README, but still have R version 2.14.1.
1) Is there something else I can do to upgrade R on my OS (Ubuntu Precise), or do more recent versions of R depend on more recent versions of Ubuntu?
2) If R upgrade is not practical without OS upgrade, how do I install the correct version of the "raster" package for my platform?