10 const char*
hello( std::string who ){
11 std::string result(
"hello " ) ;
13 return result.c_str() ;
21 int main(
int argc,
char *argv[]) {
30 Rcpp::Rcout <<
"** rinside_module_sample0 is currently disabled.\n";
32 std::string result = R.
parseEval(
"bling$hello('world')") ;
33 std::cout <<
"bling$hello( 'world') = '" << result <<
"'" << std::endl ;
int main(int argc, char *argv[])
int parseEval(const std::string &line, SEXP &ans)
const char * hello(std::string who)