Modified example for Rserve calls for better consistency