On 22 June 2016 at 18:29, Hadley Wickham wrote: | Try warningcall(R_NilValue, "message")
Nice one:
R> cppFunction("void foo(std::string txt) { Rf_warningcall(R_NilValue,
txt.c_str()); }")
R> foo("magic!")
Warning message:
magic!
R>
Dirk
--
http://dirk.eddelbuettel.com | @eddelbuettel | [email protected]
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel
