Majid Einian
2011-Apr-20 07:25 UTC
[R] Error Installing or Updating Packages (Maybe because of a proxy)
Dear R Helpers, (I am using Ubuntu lucid and R 2.13.0 When I try to update packages I get this error:> update.packages()--- Please select a CRAN mirror for use in this session --- Loading Tcl/Tk interface ... done Error in ret[i, ] <- c(pkgs[i], lib, desc) : number of items to replace is not a multiple of replacement length I had no problem before (case 1) but now (case 2) I cannot get it to work, googleing did not help: case 1: * connecting directly without any proxy setting (at my university) * using R 2.12.2 case 2: * connecting through proxy setting (at my workplace) * using R 2.13.0 I set the proxy in terminal too but it does not help (echo $http_proxy gives me http://192.168.0.1:8080/) -- Majid Einian PhD Candidate in "Economics" Graduate School of Management and Economics Sharif University of Technology [[alternative HTML version deleted]]
Uwe Ligges
2011-Apr-20 08:29 UTC
[R] Error Installing or Updating Packages (Maybe because of a proxy)
If the internet connection from R works, can you please verify that you do not have any R base package from an old R version in a current R library that you may have in the .libPaths() already? Uwe Ligges On 20.04.2011 09:25, Majid Einian wrote:> Dear R Helpers, > (I am using Ubuntu lucid and R 2.13.0 > When I try to update packages I get this error: > >> update.packages() > --- Please select a CRAN mirror for use in this session --- > Loading Tcl/Tk interface ... done > Error in ret[i, ]<- c(pkgs[i], lib, desc) : > number of items to replace is not a multiple of replacement length > > I had no problem before (case 1) but now (case 2) I cannot get it to work, > googleing did not help: > case 1: > * connecting directly without any proxy setting (at my university) > * using R 2.12.2 > case 2: > * connecting through proxy setting (at my workplace) > * using R 2.13.0 > > I set the proxy in terminal too but it does not help (echo $http_proxy gives > me http://192.168.0.1:8080/) >
Uwe Ligges
2011-Aug-03 15:57 UTC
[R] Error Installing or Updating Packages (Maybe because of a proxy)
1. you wrote to the mailing list rather than to the original poster. 2. you forgot to cite the original post, hence we do not know what you are referring to. PLease do read the posting guide to this list! Uwe Ligges On 03.08.2011 14:53, mohammad.gh at gmail.com wrote:> Hello David, > I encountered the same problem of yours. > What did you do to resolve it? > Thanks for your reply > Mohammad > > -- > View this message in context: http://r.789695.n4.nabble.com/Error-Installing-or-Updating-Packages-Maybe-because-of-a-proxy-tp3462312p3715332.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > 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.