[R] Hiding message

Aldo michael.v.clawson at gmail.com
Wed Nov 30 05:38:20 CET 2011


It is from attatching and detaching data frames and moving them between
functions, there is no library calls in the loop



Michael Weylandt wrote
> 
> What does your code look like that you see such messages repeatedly? I
> only see those message upon loading a package: maybe move the
> library() call outside the loop.
> 
> Also, the suppressPackageStartupMessages() function can hide them, but
> you should first figure out for yourself why they are there.
> 
> Michael
> 
> On Tue, Nov 29, 2011 at 9:39 PM, Aldo <michael.v.clawson@> wrote:
>> So I am receiving messages in a loop
>>
>> "The following object(s) are masked from..."
>>
>> I tried
>>
>>  triedoptions(warn=-1) and options(show.error.message:=FALSE) but it
>> still
>> tells me
>>
>> "The following object(s) are masked from..."
>>
>> repeatedly, and my problem is that it masks the print statement from my
>> function....
>>
>> Any ideas?
>>
>> Thanks
>>
>> --
>> View this message in context:
>> http://r.789695.n4.nabble.com/Hiding-message-tp4121625p4121625.html
>> Sent from the R help mailing list archive at Nabble.com.
>>
>> ______________________________________________
>> R-help@ 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.
>>
> 
> ______________________________________________
> R-help@ 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.
> 


--
View this message in context: http://r.789695.n4.nabble.com/Hiding-message-tp4121625p4121905.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list