Skip to content
Back to formatted view

Raw Message

Message-ID: <Pine.LNX.4.44.0411101304390.18087-100000@gannet.stats>
Date: 2004-11-10T13:06:51Z
From: Brian Ripley
Subject: printing to stderr
In-Reply-To: <C80ECAFA2ACC1B45BE45D133ED660ADE010BF296@crbsmxsusr04.pharma.aventis.com>

On Wed, 10 Nov 2004 Arne.Muller at aventis.com wrote:

> is it possible to configure the print function to print to stderr?

No, but where standard output goes is controlled by sink(), so you can 
achieve the same effect.  R internally has no idea what output comes from 
print() (which is not just one function but hundreds of methods).

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595