[R-SIG-Mac] Installing packages from source for all installed sub-architectures

Dan Tenenbaum dtenenba at fhcrc.org
Tue Mar 6 01:09:36 CET 2012


Hello,

Are there plans to modify install.packages() on Mac so that if
type="source", the package is installed for all installed
sub-architectures?

This works for Windows.

Currently,
install.packages("mypkg", type="source")
**may** do the right thing, depending on what type of native code the
package has, whether if has a configure script., etc, but there's no
guarantee.

I might add that even installing a binary is not guaranteed to give
you .so files for all sub-architectures. CRAN and Bioconductor create
multi-arch binaries, but other package distributors may not do this,
in fact, they likely won't, since the procedure for generating such
binaries is not part of R and is therefore not documented as such.

There are of course ways to work around this. But it would be nice not
to have to work around it, and it would be very nice if a single
command could install a package (and, importantly, all its
dependencies) from source for all available architectures.

Thanks!
Dan



More information about the R-SIG-Mac mailing list