[R-SIG-Mac] R , RCPP unsing MACOS ventura

Simon Urbanek @|mon@urb@nek @end|ng |rom R-project@org
Tue Mar 14 21:39:12 CET 2023


Federico,

given that Homebrew is likely the cause for the mess, advising to install a custom installation seems like a very bad idea. It is likely very dependent on the versions of the tools from Homebrew which is what breaks. Therefore I would strongly advise against it (unless you know what you are doing, but then if you do - you know how to fix it).

So to the list readers - please do NOT follow the advice for custom flags unless you know what it does and how to maintain it. If you use custom tools (which is fine for experts), you are likely to have problems down the road since such installations are not maintained by Apple and will break and will need fixing.

Cheers,
Simon
  



> On 15/03/2023, at 7:26 AM, Calboli Federico (LUKE) <federico.calboli using luke.fi> wrote:
> 
> First off apologies for the horrible quoting from me, I have been forced to move from Mail.app to Outlook and nothing works as it should.
> 
> I understand the XCode tool are needed to install homebrew, but after that they are not the focus � my R makevars calls the gcc I installed with homebrew, not the one supplied by XCode (which does not have fortran, hence my use of the Homebrew gcc).
> 
> 
> Federico Calboli
> Tutkija
> Genomiikka ja jalostus
> Luonnonvarakeskus
> 
> 
> 
>> 
>> I actually do not use Rcpp, I was just curious to know whether it works on my machine or not.  Apparently it does.
>> 
> 
> 
> Me either. Fwiw.
> 
> xcode-select --version
> xcode-select version 2396.
> 
> Also Ventura 13.2.1
> 
>> library(Rcpp)
>> evalCpp( "1+1")
> [1] 2
>    ::sprintf(buff, "%02x", from);
>      ^
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
> __deprecated_msg("This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
> ^
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
>        #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
>                                                      ^
> 1 warning generated.
>> 
> 
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac using r-project.org
> https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fstat.ethz.ch%2Fmailman%2Flistinfo%2Fr-sig-mac&data=05%7C01%7Cfederico.calboli%40luke.fi%7C8e5586946cd54b94cd7808db24ade8a1%7C7c14dfa4c0fc47259f0476a443deb095%7C0%7C0%7C638144101597319575%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=5l9Xe5xlggU4O3UJwRpIt62sbdZJMmsRoRnkufM2MzY%3D&reserved=0
> 
> 	[[alternative HTML version deleted]]
> 
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac using r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac



More information about the R-SIG-Mac mailing list