On 21 May 2025 at 09:34, Peiyuan Zhu wrote:
| I'm happy to just use O3 but it sounds like this isn't something doable in 
C++.

It is called -O3, not 'O3'. (Also Rcpp, not RCpp.)

We do not know what you did because you never posted anything even remotely
close to reproducible.

| Maybe I should just give up RCpp and move the program entirely to C++ from now
| on. 

Whatever works for you. You could also look at some existing projects and see
what they do; I just did a quick recursive search below my git directory on
the machine and saw at least two packages set -O3.  So it works for some of us.

Good luck either way.

Best, Dirk

-- 
dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org

______________________________________________
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel

Reply via email to