[R] Hiding message

Jeff Newmiller jdnewmil at dcn.davis.ca.us
Wed Nov 30 08:22:52 CET 2011


"Don't do that."

Use $ notation to refer to elements of lists/data frames explicitly.
---------------------------------------------------------------------------
Jeff Newmiller                        The     .....       .....  Go Live...
DCN:<jdnewmil at dcn.davis.ca.us>        Basics: ##.#.       ##.#.  Live Go...
                                      Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
/Software/Embedded Controllers)               .OO#.       .OO#.  rocks...1k
--------------------------------------------------------------------------- 
Sent from my phone. Please excuse my brevity.

Aldo <michael.v.clawson at gmail.com> wrote:

>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.
>
>______________________________________________
>R-help at 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.



More information about the R-help mailing list