Maybe I'm missing something, but did you try something like install.packages(c("Hmisc","acepack")) ? ________________________________ Agustin
On 23/01/2013, at 11:27, Ross Tinsley <rtins...@htmi.ch> wrote: > Originally posted this on the standard mailing list and it was suggested that > I post here on SIG Mac list. Have also included Beren's response who > emphasised using the R.app GUI, however I am doing this as my first step. The > below error message turns up there as well. Am stuck on the 'make' command > and how to make that work. > > Here are the commands in R I am trying to run. > > library(Amelia) > library(Hmisc) > library(polycor) > library(psych) > library(qgraph) > library(lavaan) > library(semTools) > library(paran) > library(nFactors) > library(GPArotation) > library(sem) > library(polycor) > library(rrcov) > > Thanks for any help. > > > Hello all > > I am a researcher in the field of tourism and have just recently installed > R64 and RStudio onto my Mac (running latest OS). I am ran into some problems > installing additional packages. I have looked through the General FAQs and > Mac FAQS but haven't been able to find a solution. > > I have downloaded the various packages I need from CRAN sources and while > some have successfully installed others have not. I have been following the > instructions on the Mac FAQ to unzip and install the downloaded packages > using the command line but the results seem to indicate an error (they are > installed but then don't work properly and so are subsequently uninstalled). > It happens on more than one so that's why I thought it might be something > generic I am doing. Here is a copy of the command line results: > > Rosss-MacBook-Pro:~ rosstinsley$ R CMD INSTALL > /private/var/folders/ld/3f2dl80154z47_864skpt2_80000gn/T/Rtmp0ittcT/downloaded_packages/Hmisc_3.10-1.tar.gz > > * installing to library > �/Library/Frameworks/R.framework/Versions/2.15/Resources/library� > * installing *source* package �Hmisc� ... > ** package �Hmisc� successfully unpacked and MD5 sums checked > ** libs > *** arch - i386 > sh: make: command not found > ERROR: compilation failed for package �Hmisc� > * removing > �/Library/Frameworks/R.framework/Versions/2.15/Resources/library/Hmisc� > Rosss-MacBook-Pro:~ rosstinsley$ R CMD INSTALL > /private/var/folders/ld/3f2dl80154z47_864skpt2_80000gn/T/Rtmp0ittcT/downloaded_packages/acepack_1.3-3.2.tar.gz > > * installing to library > �/Library/Frameworks/R.framework/Versions/2.15/Resources/library� > * installing *source* package �acepack� ... > ** package �acepack� successfully unpacked and MD5 sums checked > ** libs > *** arch - i386 > sh: make: command not found > ERROR: compilation failed for package �acepack� > * removing > �/Library/Frameworks/R.framework/Versions/2.15/Resources/library/acepack� > Rosss-MacBook-Pro:~ rosstinsley$ R CMD INSTALL > /private/var/folders/ld/3f2dl80154z47_864skpt2_80000gn/T/Rtmp0ittcT/downloaded_packages/arm_1.6-01.02.tar.gz > > * installing to library > �/Library/Frameworks/R.framework/Versions/2.15/Resources/library� > ERROR: dependency �lme4� is not available for package �arm� > * removing > �/Library/Frameworks/R.framework/Versions/2.15/Resources/library/arm� > Rosss-MacBook-Pro:~ rosstinsley$ R CMD INSTALL > /private/var/folders/ld/3f2dl80154z47_864skpt2_80000gn/T/Rtmp0ittcT/downloaded_packages/chron_2.3-43.tar.gz > > * installing to library > �/Library/Frameworks/R.framework/Versions/2.15/Resources/library� > * installing *source* package �chron� ... > ** package �chron� successfully unpacked and MD5 sums checked > ** libs > *** arch - i386 > sh: make: command not found > ERROR: compilation failed for package �chron� > * removing > �/Library/Frameworks/R.framework/Versions/2.15/Resources/library/chron� > > > > Berend's response: > > 1. This belongs on the R-SIG-Mac mailing list > > 2. Why don't you use the R.app GUI to install the binary versions of the > required packages? Much easier. > > 3. The message: "sh: make: command not found" means that you don't have make > installed. > Most likely you don't have other required tools installed. > If you use the R.app GUI you don't really need tall those tools. > > Advice: use R.app to install and if needed get the Xcode tools but only if > you intend to compile your own packages. > > Berend > > > > [[alternative HTML version deleted]] > > _______________________________________________ > R-SIG-Mac mailing list > R-SIG-Mac@r-project.org > https://stat.ethz.ch/mailman/listinfo/r-sig-mac _______________________________________________ R-SIG-Mac mailing list R-SIG-Mac@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac