Skip to content
Prev 4369 / 15075 Next

[BioC] Trouble installing bioconductor packages on 64 bit R on OS X Leopard

Hi Patrick, Simon, and everyone else,

Thanks for the help. This was tougher than it should have been, but
it's clearer to me now why I ran into this problem. I'll try to
summarize in case others get into this jam. Here's what I did, then
how I fixed it:

1) downloaded R 64 bit
2) installed the x code developer tools from my *new* Leopard disk
(shipped with mac Jan 2008), which I understood to include gcc4-2
3) installed gfortran-4.2.1
4) start 64 bit R
5) change options: options(pkgType="source")
6) source("http://bioconductor.org/biocLite.R")
7) biocLite()

So it should work, right? Wrong. The problem is that I didn't have
gcc4-2 installed, which the output told me about 100 times. So then:
1) find and install gcc4-2
2) redo the above

So this should work right? Wrong. Now the R output tells me  that
library X (e.g., affyio) "is not installed for 'arch=x86_64"  about 20
times.

In retrospect, the reason this happened is because some of the
packages had either been installed by me before on 32 bit system, or
they were only partially installed when I tried to install
bioconductor without gcc4-2 (I can't remember which).

What I did that works:
1) remove ALL packages in anyway related to bioconductor by throwing
them in the trash.
2) redoing the above

Now all is working. What SHOULD I have done? I should have done #2
that Patrick recommended above.

Best,

Matt
On Feb 13, 2008 4:34 PM, Patrick Aboyoun <paboyoun at fhcrc.org> wrote: