Execute an R expression, possibly compound, using a certain setting for spectral data related options.
using_Tfr(expr)using_Afr(expr)
using_A(expr)
using_energy(expr)
using_photon(expr)
using_quantum(expr)
an R expression to execute.
The value returned by the execution of expression
.
Based on withOptions()
as offered by Thomas Lumley, and
listed inhttp://www.burns-stat.com/the-options-mechanism-in-r/,
section Deep End, of "The Options mechanism in R" by Patrick Burns.