I am currently migrating a package from Rcpp to cpp11 and was wondering if cpp11 support was planned for later?
I am only including later from C++ and it seems Rcpp is only used for including /Rinternals.h.
I was able to work around that by creating a file with the name /Rcpp.h which looks like this:
#pragma once
#import <cpp11/R.hpp>
this seems to work without issue so far, but is of course a bit "hacky".
I know Rcpp is used in the R interface, but a compiler flag similar to this would be great:
I am currently migrating a package from
Rcpp
tocpp11
and was wondering ifcpp11
support was planned forlater
?I am only including
later
from C++ and it seemsRcpp
is only used for including/Rinternals.h
. I was able to work around that by creating a file with the name/Rcpp.h
which looks like this:this seems to work without issue so far, but is of course a bit "hacky". I know
Rcpp
is used in the R interface, but a compiler flag similar to this would be great:Alternatively the R headers could be included without Rcpp: