I am running a ubuntu 12.04 instance, and have R3.0.2 loaded, but cannot get install.packages() to install packages. It downloads the files, but appears to not install them. Am I missing something here? I have never had this trouble before running ubuntu R instances. By the way, I have tried running the process as root instantiated with sudo R from command line but still no warning, no install. By the way, this problem is consistent across all packages I have tried to install.
Here is an example:
> install.packages("dataview")
Installing package into ‘/home/ubuntu/R/x86_64-pc-linux-gnu-library/3.0’
(as ‘lib’ is unspecified)
also installing the dependency ‘xtermStyle’
trying URL 'http://cran.rstudio.com/src/contrib/xtermStyle_2.2-4.tar.gz'
Content type 'application/x-gzip' length 15265 bytes (14 Kb)
opened URL
==================================================
downloaded 14 Kb
trying URL 'http://cran.rstudio.com/src/contrib/dataview_1.4-8.tar.gz'
Content type 'application/x-gzip' length 10696 bytes (10 Kb)
opened URL
==================================================
downloaded 10 Kb
The downloaded source packages are in
‘/tmp/Rtmp6FevA0/downloaded_packages’
> library(dataview)
Error in library(dataview) : there is no package called ‘dataview’
For what it is worth, I installed R with the following shell commands
#remove old versions
sudo apt-get remove r-base-core
#Adding deb to sources.list
sudo nano /etc/apt/sources.list
deb http://cran.rstudio.com/bin/linux/ubuntu precise/
# Add key to sign CRAN packages
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E084DAB9
#Add specific PPA to the system
sudo add-apt-repository ppa:marutter/rdev
sudo apt-get update
sudo apt-get upgrade
#installing
sudo apt-get install r-base
sudo apt-get install r-base-dev
Thank you in advance for any help.