On Tue, Aug 31, 2010 at 5:21 PM, Allan Engelhardt <all...@cybaea.com> wrote:
>
>
> On 27/08/10 10:19, Barry Rowlingson wrote:
>>
>> On Fri, Aug 27, 2010 at 9:09 AM, Sébastien Moretti
>> <sebastien.more...@unil.ch>  wrote:
>>   [...]
>>  require it quietly:
>>
>>
>>>
>>> require(sp,quietly=TRUE)
>>>
>
> Doesn't work for me:
>
>> require("Matrix", quietly=TRUE)
> Loading required package: lattice
>
> Attaching package: 'Matrix'
>
> The following object(s) are masked from 'package:base':
>
>    det
>

Actually it is suppressing the 'Loading required package: Matrix'
message, but not the message from loading 'lattice' the dependency -
perhaps the quietly= option should be passed down to required
packages?

 The other bit, "Attaching package: Matrix etc" only comes up because
of the masking of 'det'. If you also try warn.conflicts=FALSE then
that should stop conflict messages from Matrix, but not from required
packages - possibly because require calls library to do the load, and
that doesn't have 'quietly'... The code is slightly confusing me and
someone else probably knows more. But no, quietly=TRUE is working for
you!

Barry

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to