Skip to content

R on mac not installing packages

5 messages · David Winsemius, Brian Ripley, Marc Schwartz +1 more

#
Hi, I have not been able to use R in my macbook pro. I am getting the
following error message every time i try to install a package

* 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 ?/Users/ravshonbek/Library/R/2.15/library/Hmisc?
* installing *source* package ?quadprog? ...
** libs
*** arch - i386
sh: make: command not found
ERROR: compilation failed for package ?quadprog?
* removing ?/Users/ravshonbek/Library/R/2.15/library/quadprog?
ERROR: dependency ?Hmisc? is not available for package ?its?
* removing ?/Users/ravshonbek/Library/R/2.15/library/its?
ERROR: dependency ?quadprog? is not available for package ?tseries?
* removing ?/Users/ravshonbek/Library/R/2.15/library/tseries?

The downloaded source packages are in

?/private/var/folders/c7/jrjv78_x6f53l3sw_w715gk00000gn/T/RtmpS4sYUx/downloaded_packages?


I look forward to your help, plsease




--
View this message in context: http://r.789695.n4.nabble.com/R-on-mac-not-installing-packages-tp4659392.html
Sent from the R help mailing list archive at Nabble.com.
#
The system is reporting that it cannot find `make`. It appears that you have not installed XCode on you Mac, or that you did with an earlier version for which you have not updated, or something else which has broken your installation. Please read the MacOS FAQ. (And post further such question on the SIG-Mac mailing list.)
On Feb 22, 2013, at 12:15 PM, londonphd wrote:

            
David Winsemius
Alameda, CA, USA
#
On 22/02/2013 21:26, David Winsemius wrote:
For the record, such information is in the 'R Installation and 
Administration Manual', as from R-patched (and hence R 2.15.3 and R 
3.0.0).  See e.g. 
http://cran.r-project.org/doc/manuals/r-release/R-admin.html#Mac-OS-X .

On recent versions of OS X it is not Xcode you need, but the 'Xcode 
command-line tools'.  These can be installed from inside Xcode 
(Preferences->Downloads->Components) or separately.

For Hmisc you will need a matching Fortran compiler: see that manual.

  
    
#
On Feb 22, 2013, at 3:46 PM, Prof Brian Ripley <ripley at stats.ox.ac.uk> wrote:

            
It seems reasonable to ask however, why he is installing source CRAN packages on OSX when the default OSX install would be binaries, if he installed R by using Simon's OSX binary. 

If he installed R from source, he should have already had the requisite compiler related tools installed.

Perhaps I need more coffee late on a Friday, but something seems inconsistent here.

Regards,

Marc Schwartz