Error when installing ggplot2, need c compiler

362 views Asked by At

I'm trying to install ggplot2 on a collaborator's Mac computer. I get this error:

configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details
ERROR: configuration failed for package ‘stringi’

It looks like I need to install a C compiler. After searching around, the only thing I see mentioned is gcc. To install this, I need to install XCode from the App store. When I try to install XCode, I get a message saying that Mac OS 10.10 or higher is required. His machine is 10.7.5, so it won't intstall.

Is there any way that I can install gcc?

0

There are 0 answers