wanted to install ggplot2
install.packages("ggplot2")
but couldn't get it through cran anymore
sudo apt-get install r-cran-ggplot2
also couldn't get it through package
so the other way was to download the old tar from cran (start from a relatively new one, the command will give error if your R is too old, karmic is R 2.9.2 btw)
and apparently, this command saves me (I remembered installing manually to R folders, hmm)
R CMD INSTALL Desktop/packagename.tar.gz
PS. sigh, never edit a blogger post anymore, blogger ruined my previous R post