These functions do the expected thing when passed an RObject.
i1 : exp RObject 1 o1 = [1] 2.718282 o1 : RObject of type double
i2 : log RObject exp 2 o2 = [1] 2 o2 : RObject of type double