I got cluster account from my college, and got installed R 2.13.0 in linux cluster(redhat 2.6.18-128.el5) but I'm not able to install r packages. I tried the following codes
install.packages('plyr')
and I selected the CRAN mirror as 1. then I got the following msg.
Warning: unable to access index for repository http://cran.ms.unimelb.edu.au/src/contrib Warning messages: 1: In open.connection(con, "r") : unable to resolve 'cran.r-project.org' 2: In getDependencies(pkgs, dependencies, available, lib) : package ‘plyr’ is not available (for R version 2.13.0)
now I made a local lib and tried
mkdir ~/R_libs install.packages("lattice",repos="http://cran.r-project.org", lib="~/R_libs/")
then again warning
Warning: unable to access index for repository http://cran.r-project.org/src/contrib Warning message: In getDependencies(pkgs, dependencies, available, lib) : package ‘lattice’ is not available (for R version 2.13.0)
I downloaded packages, and uploaded into the cluster. is it possible to install from that??
I don't have any sudoers rights(Administrator privileges). cluster is having 32 nodes.
Edit: I uploaded car_2.1-0.zip to the cluster and tried the bellow code.
R CMD INSTALL car_2.1-0.zip -l /R_libs
but I got the response as shown below
Error in rawToChar(block[seq_len(ns)]) : embedded nul in string: 'PK\003\004\n\0\0\0\0\0\xef3ZG\0\0\0\0\0\0\0\0\0\0\0\0\004\0\0\0car/PK\003\004\024\0\002\0\b\0\xe03ZGn\xaa\xf3\x90Q\001\0\0\xa2\002\0\0\f\0\0\0car/CITATION\x9dR\xc1j\0021\020=W\xf0\037\x86=\xed\x82\xec\xd6\036\x85\036\xb6b)E'
Is there any way to overcome this?? Thanks