Re: [R] help with updating to R2.7

From: ravi <>
Date: Thu, 08 May 2008 16:08:41 +0000 (GMT)

Thanks for the help. I have now solved the problem of installing the old packages in R2.7. A preliminary check showed that they seemed to work. But I had the following problem with updating :
> update.packages(checkBuilt=TRUE, ask=FALSE)
--- Please select a CRAN mirror for use in this session --- Warning: unable to access index for repository Warning: unable to access index for repository Warning message:
In open.connection(con, "r") :

  unable to connect to '' on port 80. This must be due to a firewall problem. Is there a way of solving this? Maybe, I should just repeat this process in another pc and internet connection which does not have this firewall problem. I can then copy over the resulting files into my present pc. I have now downloaded the batchfiles folder with the movedir.bat and copydir.bat commands. This appears to offer a much better method of updating libraries. But I am not very sure how I can get started with it. It does not appear to be a regular package to be installed in R. It seems that I need to run it from the windows command window. Can you please show me a small example of how I can get started with it. Thanking You,

That's not what movedir.bat and copydir.bat in batchfiles do.  They will not overwrite any files.

On Thu, May 8, 2008 at 10:40 AM, ravi <> wrote:
> Hi,
>  Ouch! That really hurt. But I get the point.
>  Here's what I did now. I copied all the package folders from R2.6, except for the R.css file, and copied them into the R2.7 folder.
>  In the process, I overwrote the common files that came with the installation of R2.7.
>  Here's the output that I obtained in R2.7 :
>  > library()
>  Error in unique.default(ans) :
>    2 arguments passed to .Internal(unique) which requires 3
> > update.packages(checkBuilt=TRUE, ask=FALSE)
>  Error: could not find function "update.packages"
>  My intention with my previous mail was to check and obtain confirmation on details like what I should do with the R.css file.
>  But I realise that I should have then restricted myself to that single question.
>  That way, I would not be wasting the valuable time of the R list experts, from whom I have received a lot of help previously.
>  After reading the FAQ once again, I am guessing that the problem could be a case of the internet downloading functions failing.
>  As suggested in the FAQ, I tried the following commands :
>  > "path_to_R\bin\Rgui.exe" http_proxy=http://gannet/ http_proxy_user=ask
>  Error: unexpected symbol in ""path_to_R\bin\Rgui.exe" http_proxy"
>  > "path_to_R\bin\Rgui.exe" http_proxy=http://user:pass@gannet:80/
>  Error: unexpected symbol in ""path_to_R\bin\Rgui.exe" http_proxy"
>  Should I run the above commands in R, or in the windows command window?
>  Thanking You,
>  Ravi
>  ----- Original Message ----
>  From: Duncan Murdoch <>
>  To: ravi <>
>  Cc:
> Sent: Thursday, 8 May, 2008 2:57:07 PM
>  Subject: Re: [R] help with updating to R2.7
> On 5/8/2008 8:30 AM, ravi wrote:
>  > I know that it would be best if I reproduced the exact error messages, but I have tried so many different things now
>  > and have lost track of the exact error messages at each stage.
>  This is not a reasonable request.  Rather than trying those two methods
>  one more time, and recording what goes wrong, you expect someone on the
>  list to do it for you?  If the advice was in the FAQ, presumably it
>  works for others, so the reason it didn't work for you is likely that
>  you misinterpreted part of it, or your system has a unique problem, etc.
>    The *only* way someone could diagnose that would be to see the error
>  messages.
>  You need to use some common sense when you're asking for help.
>  Duncan Murdoch
>  ______________________________________________
> mailing list
>  PLEASE do read the posting guide
>  and provide commented, minimal, self-contained, reproducible code.
> mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Thu 08 May 2008 - 17:17:41 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 08 May 2008 - 18:30:35 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive