[R] Display warning only once in session

Berry Boessenkool berryboessenkool at hotmail.com
Mon Aug 25 23:05:51 CEST 2014


I'm writing a function that gives a warning in a certain scenario.
Reading this once per R session will be enough.
i.e. it's not necessary to be shown in subsequent function calls.

What's the best way to implement this?
Some package-specific option?
Where would I find good information on that?

searching with the keywords I'm using as the subject of this message didn't dig up any results.
Maybe it will be enough to give me some better keywords...

Thanks ahead,



More information about the R-help mailing list