Many thanks Roy - it helped me, at least!

Simon: This command ought perhaps to be included on  
https://cran.r-project.org/bin/macosx/tools/  as part of the "important note"

It is obscure, with no good duckduckgo or stackoverflow results if the user 
types in their error message.

Best, tim


> On 30 Mar 2019, at 6:21 pm, Roy Mendelssohn - NOAA Federal via R-SIG-Mac 
> <r-sig-mac@r-project.org> wrote:
>
> I recently updated to Mojave and started getting header not found errors when 
> trying to compile packages.
> The following is in some of the docs,  but just in case it helps,  cause it 
> took me awhile to find it,  after installing the Command Line Tools for 
> Xcode,  you should run:
>
> sudo installer -pkg \
> /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg
>  \
> -target /
>
> and voila packages that had failed to compile just a few minutes ago compiled 
> successfully.
>
> Hope this helps someone. -Roy
The University of Edinburgh is a charitable body, registered in Scotland, with 
registration number SC005336.

_______________________________________________
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac

Reply via email to