R engine for Sense