[R] Introduction and help request

Ross Tinsley rtinsley at htmi.ch
Tue Jan 22 19:20:24 CET 2013


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’


Thank you for any help

Ross


More information about the R-help mailing list