[R-pkg-devel] modification of warning messages

Dirk Eddelbuettel edd at debian.org
Thu Jun 23 01:57:43 CEST 2016


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 | edd at debian.org



More information about the R-package-devel mailing list