[R] turn off function output

Paul Hiemstra
Wed, 04 Nov 2009 15:07:25 -0000

Ning Ma wrote:
> Hi, everybody
>
> Is there any way to turn off the output message of a function, maybe a
> result of cat() or print() command in that function.
> I only expected it to be executed quite and return a value. Any
> intermediate messages can be omitted.
>
> Thanks!
>
> Ma
>
> ______________________________________________
> 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.
>
Hi,

have a look at this e-mail from the R-help archives:

http://tolstoy.newcastle.edu.au/R/e4/help/08/01/0841.html

cheers,
Paul

--
Drs. Paul Hiemstra
Department of Physical Geography
Faculty of Geosciences
University of Utrecht
Heidelberglaan 2
P.O. Box 80.115
3508 TC Utrecht
Phone:  +3130 274 3113 Mon-Tue
Phone:  +3130 253 5773 Wed-Fri