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

2023-03-14 Thread Calboli Federico (LUKE)
I know that posting a makevars is somehow iffy, but I installed GCC with homebrew and my ~/.R/Makevars Reads CC=/opt/homebrew/bin/gcc-12 -fopenmp CXX=/opt/homebrew/bin/g++-12 -fopenmp CXX11=/opt/homebrew/bin/g++-12 -fopenmp CXX14=/opt/homebrew/bin/g++-12 -fopenmp CXX17=/opt/homebrew/bin/g++-12

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

2023-03-14 Thread Michael Hall
> On Mar 14, 2023, at 6:00 AM, r-sig-mac-requ...@r-project.org wrote: > > [R-SIG-Mac] R , RCPP unsing MACOS ventura Google shows others have had the issue. Suggestions include... Uninstall and reinstall command line tools. —— ...following the wisdom of the "homebrew doctor" solves it,

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

2023-03-14 Thread Michael Hall
> On Mar 14, 2023, at 7:40 AM, Calboli Federico (LUKE) > wrote: > > I know that posting a makevars is somehow iffy, but I installed GCC with > homebrew and my > > ~/.R/Makevars > It sounds like it is worth a try. However, I’m not sure it’s clear your OS and other versions match the

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

2023-03-14 Thread Calboli Federico (LUKE)
It sounds like it is worth a try. However, I�m not sure it�s clear your OS and other versions match the original posters? My bad, I�m on MacOS 13.2.1 arm64, with the latest XCode CLT Did you build for the same issue? I actually do not use Rcpp, I was just curious to know whether it works on my

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

2023-03-14 Thread Simon Urbanek
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

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

2023-03-14 Thread Simon Urbanek
If that is the case, can you actually post what the issue is? The original post had no details and did not follow up when asked for details. When googling the issue seems to arise in Homebrew, not the Apple tools so as I noted removing Homebrew should work. Cheers, Simon > On 15/03/2023, at

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

2023-03-14 Thread Calboli Federico (LUKE)
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,

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

2023-03-14 Thread Michael Hall
> > 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",

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

2023-03-14 Thread Michael Hall
> On Mar 14, 2023, at 3:32 PM, Simon Urbanek > wrote: > > If that is the case, can you actually post what the issue is? The original > post had no details and did not follow up when asked for details. When > googling the issue seems to arise in Homebrew, not the Apple tools so as I >

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

2023-03-14 Thread Simon Urbanek
Well, what I saw in the searches what that it was a problem with Homebrew tools breaking on that flag. Again, it's all speculation, because no one posted the actual issue ... so it's anyone's guess what this is all about until someone actually posts the details I asked for - I don't see that

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

2023-03-14 Thread Calboli Federico (LUKE)
Simon, Yes, sure, I need to keep an eye on the GCC version from HB, because when it changes the makevars breaks. Otherwise I never really had issues, but I am happy to break stuff, and fix it. Federico Calboli Tutkija Genomiikka ja jalostus Luonnonvarakeskus Federico, given that Homebrew

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

2023-03-14 Thread Michael Hall
> On Mar 14, 2023, at 3:50 PM, Simon Urbanek > wrote: > > Well, what I saw in the searches what that it was a problem with Homebrew > tools breaking on that flag. Again, it's all speculation, because no one > posted the actual issue ... so it's anyone's guess what this is all about >