[R] Error Installing or Updating Packages (Maybe because of a proxy)

Uwe Ligges ligges at statistik.tu-dortmund.de
Wed Apr 20 10:29:17 CEST 2011

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

More information about the R-help mailing list