[R] Sweave: trouble controlling Design package startup output

Paul Johnson pauljohn32 at gmail.com
Tue Jan 31 00:37:19 CET 2006


Hello, everybody:

I'm experimenting more with Sweave, R, and LyX. There's now an entry
in the LyX wiki on using R, so anybody can do it!

http://wiki.lyx.org/LyX/LyxWithRThroughSweave

Now I notice this frustrating thing.  I think I've done everything
possible to make the Design library start up without any fanfare:


<<echo=F,quiet=T,print=F>>=
library(Design, verbose=F)
@

But in the output there is still one page of banner information, which
starts like this:

Loading required package: Hmisc
Hmisc library by Frank E Harrell Jr
Type library(help= Hmisc ), ?Overview, or ?Hmisc.Overview )
to see overall documentation.
NOTE:Hmisc no longer redefines [.factor to drop unused levels when
subsetting. To get the old behavior of Hmisc type dropUnusedLevels().
  Attaching package: Hmisc      The following object(s) are masked
from package:stats :
[and so forth]

Can you tell me how to make it stop?

I've seen this kind of output with a couple of other packages over the
past 2 months, but I can't find the files that produced them, so I
can't cite the examples.  But I don't think it is confined to Design.

--
Paul E. Johnson
Professor, Political Science
1541 Lilac Lane, Room 504
University of Kansas




More information about the R-help mailing list