[Rcpp-devel] Getting an R option in Rcpp
Rguy
rguy at 123mail.org
Sat Aug 1 08:07:14 CEST 2015
Can I access an R option from within an Rcpp function? I'd like the access
to happen at runtime, not at compile time. Something like this:
if (getOption("my_option") == x) {
do this;
} else {
do that;
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20150801/a7b0cd3a/attachment.html>
More information about the Rcpp-devel
mailing list