If it's an informational message, like one you might log, use message(). If you're rendering an object as text, like in a show method, use cat().
Just my opinion, Michael On Wed, Jul 10, 2013 at 8:24 AM, Kasper Daniel Hansen < kasperdanielhan...@gmail.com> wrote: > Should I use cat() or message() (or something else) for > if(verbose) cat("my message\n") > > Best, > Kasper > > [[alternative HTML version deleted]] > > _______________________________________________ > Bioc-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/bioc-devel > [[alternative HTML version deleted]] _______________________________________________ Bioc-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/bioc-devel