Message-ID: <Pine.LNX.4.61.0509201921180.23942@gannet.stats>
Date: 2005-09-20T18:27:40Z
From: Brian Ripley
Subject: indicating progress in RGui from a c function
In-Reply-To: <20050920180014.BA49D2FCB@post.aecom.yu.edu>
On Tue, 20 Sep 2005, Chris Paulse wrote:
> I'm sure this issue has come up before, but searching the archives didn't
> lead me to a solution or resolution of the issue.
It is documented in the rw-FAQ: Q8.8 in the R-2.2.0-alpha version.
> I'd like to indicate progress of a calculation from within a C shared
> library to the R GUI. The apparent function call is flush.console() after
> RPrintf, but it isn't clear to me what the easiest way to do this is. Would
> it be possible to add a flag to RPrintf to have this done implicitly?
No. It's a varargs function and we cannot go round changing the API.
> [[alternative HTML version deleted]]
Please don't send HTML mail as we do ask in the posting guide.
--
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