[R] Print to console from within Sweave script
Ista Zahn
izahn at psych.rochester.edu
Tue Nov 30 15:04:00 CET 2010
Hi Werner,
If I remember correctly, message() can be used for this purpose.
Best,
Ista
On Tue, Nov 30, 2010 at 7:16 AM, Werner W. <pensterfuzzer at yahoo.de> wrote:
> Hi,
>
> is it possible to send some message to the console from within a .Rnw Sweave
> script, ie. when executing Sweave()?
> The background is that only in particular circumstances my script is doing some
> lengthy computations and I would like to print some status information to the
> console. It seems Sweave redirects all output though.
>
> Any suggestions?
>
> Thanks a lot for considering my question.
>
> All the best
> Werner
>
>
>
>
> ______________________________________________
> 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.
>
--
Ista Zahn
Graduate student
University of Rochester
Department of Clinical and Social Psychology
http://yourpsyche.org
More information about the R-help
mailing list