Skip to content
Prev 4377 / 15075 Next

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

I'm not sure what you should have done, but here is what I do:

Leave your regular library path alone (i.e. leave all of the 32 biy
package installs there).

Create a new path for 64 bit installs. I use

   /Library/Frameworks/R.framework/Versions/2.6/Resources/RLib64

Install all packages doing something like:

biocLite(
   c("annaffy", "annotate"),
   type = "source",
   lib = "/Library/Frameworks/R.framework/Versions/2.6/Resources/RLib64")

or

install.packages(
   pkgs = "geepack",
   type = "source",
   lib = "/Library/Frameworks/R.framework/Versions/2.6/Resources/RLib64")

Now, when you load R, you can use

if(.Machine$sizeof.pointer == 8)
   .libPaths("/Library/Frameworks/R.framework/Versions/2.6/Resources/RLib64")

There might be a cleaner way to accomplish the same thing.

Max
On Wed, Feb 13, 2008 at 7:02 PM, Matthew Keller <mckellercran at gmail.com> wrote: