t;>> In file included from capture.c:1:
>>>
>>> In file included from
>>> /Library/Frameworks/R.framework/Resources/include/Rinternals.h:44:
>>>
>>> In file included from
>>> /Library/Frameworks/R.framework/Resources/include/R_ext/Arith.h:41:
included from /usr/local/include/math.h:8:
>>
>> In file included from /usr/local/include/features.h:10:
>>
>> /usr/local/include/forwards.h:10:10: fatal error: 'config.h' file not found
>>
>> #include "config.h"
>>
>>
pture.o] Error 1
>
> ERROR: compilation failed for package ‘rlang’
>
>
>
> ……….
>
>
>
> From: Carl Ganz
> Date: Sunday, May 3, 2020 at 12:04 PM
> To: Paul Fishwick
> Cc:
> Subject: Re
not found
>
> #include "config.h"
>
> ^~
>
> 1 error generated.
>
> make: *** [capture.o] Error 1
>
> ERROR: compilation failed for package ‘rlang’
>
>
>
> ……….
>
>
>
> From: Carl Ganz
> Date: Sunday, May 3, 202
tion failed for package ‘rlang’
……….
From: Carl Ganz
Date: Sunday, May 3, 2020 at 12:04 PM
To: Paul Fishwick
Cc:
Subject: Re: [Rcpp-devel] Cannot run rcpp due to missing include file(s)
This is probably beyond my understanding at this point, but the solution I
offered worked for me wit
per/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h:749:12:
> note: 'finite' declared here
>
> extern int finite(double)
>
>^
>
>
>
> *From: *Carl Ganz
> *Date: *Sunday, May 3, 2020 at 11:02 AM
> *To: *Paul Fishwick
>
Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h:749:12:
note: 'finite' declared here
extern int finite(double)
^
From: Carl Ganz
Date: Sunday, May 3, 2020 at 11:02 AM
To: Paul Fishwick
Cc:
Subject: Re: [Rcpp-devel] Cannot run rcpp due to missing inclu
I experienced similar issues on Mac and was able to fix by adding
PKG_CPPFLAGS=-I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include
to my .R/Makevars
My understanding is that Mac no longer uses the /usr/local/include so you
need to point it t
System: Mac OSX 11 (Catalina), Rstudio with R version 3.6.3 (but have also
tried 4.0 and 3.3),
Xcode version 11.4.1
Went to: http://adv-r.had.co.nz/Rcpp.html#rcpp-intro
and tried library(rcpp) which worked fine because I previously had
installed the rcpp package.
The following yields an error i