Re: [R] Display on Windows console from script

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Tue 27 Jul 2004 - 19:55:42 EST


Please consult the rw-FAQ, specifically Q6.3 whose subject looks a perfect fit for your question (and whose answer contains the answer).

On Tue, 27 Jul 2004, Laetitia Marisa wrote:

> When I launch a script under windows it does not display sequentially
> my cat calls or maybe the console is not refreshed at every line of my
> script.
>
> For instance with that code
> cat("\n\n================== IMPORT DATA FROM FILE
> ===================\n\n")
> fileschosen <- choose.files(caption="Select gpr files", filters =
> matrix(c("genepix file","*.gpr"), nc=2, byrow=T))
>
> The popup browse window is first displayed and once I've selected my
> files the cat "IMPORT..." is displayed.
>
> What can I do to make my displays appear at the right time?

-- 
Brian D. Ripley,                  ripley@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

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Tue Jul 27 20:05:26 2004

This archive was generated by hypermail 2.1.8 : Wed 03 Nov 2004 - 22:55:17 EST