[R] Suppressing printing in the function

Dimitri Liakhovitski dimitri.liakhovitski at gmail.com
Sat Oct 2 00:39:20 CEST 2010


Thank you - exactly what I was looking for!
Dimitri

On Fri, Oct 1, 2010 at 6:30 PM, Phil Spector <spector at stat.berkeley.edu> wrote:
> ?invisible
>                                        - Phil Spector
>                                         Statistical Computing Facility
>                                         Department of Statistics
>                                         UC Berkeley
>                                         spector at stat.berkeley.edu
>
>
> On Fri, 1 Oct 2010, Dimitri Liakhovitski wrote:
>
>> Hello!
>>
>> I wrote a function that returns a data frame. Nowhere in the function
>> do I say print(my.data.frame), but when I run the function - the data
>> frame is printed on the console.
>> Is there any way to suppress it?
>>
>> Thank you!
>>
>> --
>> Dimitri Liakhovitski
>> Ninah Consulting
>> www.ninah.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.
>>
>



-- 
Dimitri Liakhovitski
Ninah Consulting
www.ninah.com



More information about the R-help mailing list