Re: [Rd] How to add a welcome message in Package development?

From: Dirk Eddelbuettel <>
Date: Fri, 10 Jun 2011 15:13:17 -0500

On 10 June 2011 at 16:04, Simon Urbanek wrote:

| On Jun 10, 2011, at 3:36 PM, Dirk Eddelbuettel wrote:

| > | That said, you can simply use cat() in .First.lib (if your packages has no namespace) or .onAttach or .onLoad (if your packages has a namespace).
| >
| > No, not cat() --- please use packageStartupMessage() as that can actually
| > be suppressed easily.
| >
| Thanks, very, very good point -- that many package authors did not get (I actually checked a few packages before replying and they all use cat() ... eek).

Yup :) I have over the years contacted a few fellow package authors to get this changes.

Lots to do still. Maybe R CMD check should look into .onLoad() et al?


Gauss once played himself in a zero-sum game and won $50.
                      -- #11 at

______________________________________________ mailing list
Received on Fri 10 Jun 2011 - 20:15:19 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 10 Jun 2011 - 23:10:18 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive