[R-pkg-devel] How to use O4 flag in an RCpp project?
Dirk Eddelbuettel
edd @end|ng |rom deb|@n@org
Wed May 21 21:57:45 CEST 2025
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 | edd using debian.org
More information about the R-package-devel
mailing list