Skip to content
Prev 4649 / 15075 Next

Installing current version of lme4 and Matrix on a mac

Hrm.  Well, I just tried that, but got the following output

Warning in install.packages("lme4", repos = "http://R-Forge.R-project.org 
") :
   argument 'lib' is missing: using '/Users/jearbear/R/powerpc-apple- 
darwin8.10.1-library/2.7'
Warning: unable to access index for repository http://R-Forge.R-project.org/bin/macosx/universal/contrib/2.7
Warning message:
package ?lme4? is not available


This might be a versioning issue (I installed 2.7 the other day -  
maybe I should go back!) but,  what is up with the argument lib being  
missing?  Odd...

I also had an odd error when installing Matrix from source

* Installing *source* package 'Matrix' ...
** libs
** arch - ppc
gcc -arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx- 
version-min=10.4 -std=gnu99 -I/Library/Frameworks/R.framework/ 
Resources/include -I/Library/Frameworks/R.framework/Resources/include/ 
ppc  -I/usr/local/include   -I./UFconfig -fPIC  -g -O2 -c CHMfactor.c - 
o CHMfactor.o
cc1: error: invalid option ?macosx-version-min=10.4?
make: *** [CHMfactor.o] Error 1
ERROR: compilation failed for package 'Matrix'
** Removing '/Users/jearbear/R/powerpc-apple-darwin8.10.1-library/2.7/ 
Matrix'

The downloaded packages are in
	/private/tmp/RtmpLqlbKP/downloaded_packages
Warning message:
In install.packages("Matrix", repos = "http://R-Forge.R-project.org",  :
   installation of package 'Matrix' had non-zero exit status

What's up with the cc1 error?

Suggestions?
On Apr 24, 2008, at 5:57 PM, Steven McKinney wrote: