Yong Wang
2008-Nov-10 23:52 UTC
[R] problem of unix package installation, following code no response: install.packages("packagename", dependecise=TRUE)
Dear list I am trying installing a package under unix, the command as below works in some case but not some other cases, the primary syndrome is R will stop there with a message: (say I am trying to install the package SASxport) ########################### Warning in install.packages("SASxport", dependencies = TRUE) : argument 'lib' is missing: using '/usr/home/d/068/wangyong/R/x86_64-unknown-linux-gnu-library/2.7' Warning: unable to access index for repository http://lib.stat.cmu.edu/R/CRAN/src/contrib ############################# My internet connection has no problem, why this happen? or can you suggest some more options or examples to follow for package installation under unix? Thank you will
Yihui Xie
2008-Nov-11 10:14 UTC
[R] problem of unix package installation, following code no response: install.packages("packagename", dependecise=TRUE)
It has nothing to do with your UNIX system. The CRAN mirror at CMU is currently not available. You may choose another mirror. For example, install.packages('SASxport', repos = 'http://cran.cnr.berkeley.edu') Regards, Yihui -- Yihui Xie <xieyihui at gmail.com> Phone: +86-(0)10-82509086 Fax: +86-(0)10-82509086 Mobile: +86-15810805877 Homepage: http://www.yihui.name School of Statistics, Room 1037, Mingde Main Building, Renmin University of China, Beijing, 100872, China On Tue, Nov 11, 2008 at 7:52 AM, Yong Wang <wangyong1 at gmail.com> wrote:> Dear list > > I am trying installing a package under unix, the command as below > works in some case but not some other cases, the primary > syndrome is R will stop there with a message: (say I am trying to > install the package SASxport) > > ########################### > Warning in install.packages("SASxport", dependencies = TRUE) : > argument 'lib' is missing: using > '/usr/home/d/068/wangyong/R/x86_64-unknown-linux-gnu-library/2.7' > Warning: unable to access index for repository > http://lib.stat.cmu.edu/R/CRAN/src/contrib > ############################# > > My internet connection has no problem, why this happen? > or can you suggest some more options or examples to follow for package > installation under unix? > > > Thank you > > will > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >