For per-user, or personal settings, I just use ~/.R/Makevars
which will affect all R CMD SHLIB
or R CMD COMPILE
calls, including those from Rcpp.
You can also define them in per-project Makefiles, or src/Makevars
, and besides the per-user files, you can of course edit the system-wide variant (which is where the other values that confused you came from). See the file $R_HOME/etc/Makeconf
for the latter.
Lastly, DESCRIPTION
has nothing to do here.