<div dir="ltr">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:<div><br></div><div>if (getOption("my_option") == x) {</div><div>  do this;</div><div>} else {</div><div>  do that;</div><div>}</div><div><br></div><div><br></div></div>