Wednesday, July 25, 2007

Installing / Upgrading R thru a http proxy on OS X

Having upgraded my version of R to 2.5.1, I was intent on not having to go home and upgrade my packages but I have always had some troubles getting the http_proxy to work on OS X for R in UL. After following a few fruitless suggestions from the web, I finally stumbed upon the correct way that works for UL.

1) Open Terminal and do the following:
export http_proxy=
export HTTP_PROXY=

2) Run R and do the following:
double-check this with:

It should work happily now, I think the major problem is you need to export the items in Terminal before running R.

Labels: , ,


  • I also just realised that: http_proxy is case sensitive for some apps. It was debootstrap which required the lowercase "http_proxy" in my situation. I simply added it to /etc/profile.


    By Anonymous Anonymous, at 5:51 p.m.  

  • Thanks Stephen, I'll remember that!

    Good to know there is at least one other person around here using R!

    By Blogger Eoin Brazil, at 6:22 p.m.  

  • This was VERY helpful! I thought the problem was in R but it was the ENVIRONMENT variables! The bioconductor website was wrong!
    I'm in Fedora over VMWARE on Windows XP.
    - Slade

    By Anonymous Anonymous, at 5:35 a.m.  

Post a Comment

<< Home