Set options so that TMB engine runs in a manner that is comparable with the R engine

r_mode()