Robj.of_value convenience function