Re: [R-SIG-Mac] odd problem building gmp from source, addendum

2011-01-12 Thread Carl Witthoft
It occurs to me I should post the mods I made to the source matrixz.R, just in case I managed to do something really bad :-(. Here is my code snippet: apply <- function(X, MARGIN,FUN,...) UseMethod("apply") apply.default <- function(X, MARGIN,FUN,...) base::apply(X, MARGIN,FUN,...) apply.

Re: [R-SIG-Mac] odd problem building gmp from source

2011-01-12 Thread Carl Witthoft
Simon, thanks for the suggestion. I downloaded gmp-4.3.1-darwin9-bin3.tar.gz from research.att.com and installed per their instructions. R (2.12.1) successfully built the "gmp" package from my modified code. Two problems. First, every time I execute a function from gmp, I get something l

Re: [R-SIG-Mac] odd problem building gmp from source

2011-01-11 Thread Simon Urbanek
On Jan 11, 2011, at 6:06 PM, Carl Witthoft wrote: > Hi, > I chose to make a minor edit to the R-source matrixz.R in the gmp package > (not to be confused with the GNU gmp library which it calls). > > On my Intel iMac at work, running OSX 10.6.4, it compiled just fine. > > for reference, that

[R-SIG-Mac] odd problem building gmp from source

2011-01-11 Thread Carl Witthoft
Hi, I chose to make a minor edit to the R-source matrixz.R in the gmp package (not to be confused with the GNU gmp library which it calls). On my Intel iMac at work, running OSX 10.6.4, it compiled just fine. for reference, that Mac has: %gcc -version i686-apple-darwin10-gcc-4.2.1: no input