use AUTOLOAD to call R functions and convert arguments and return values automatically