silent option for library function
Vincent J. Carey, Jr.
stvjc@channing.harvard.edu
Wed, 30 Oct 2002 09:54:28 -0500 (EST)
would it be possible to add an option to library that
prevents messages except when there are errors? as
we build Sweave documents illustrating package functionalities
it is sometimes desirable to attach a package "behind
the scenes". packages that have messages emitted
in .First.lib (often describing version or developer)
frustrate this particular desire. verbose=FALSE
does not accomplish this.
note that i have no objection to messages produced by
default use of library. i just want the ability to
suppress them when there are no errors. currently
it is possible to do
sink(file="/dev/null")
library([e.g. affy])
sink()
but that may suppress too much -- an error message may be
lost.
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._