[R] R gui on windows how to force to always show the last line of output

David Winsemius dwinsemius at comcast.net
Sat Apr 2 14:27:53 CEST 2011


On Apr 2, 2011, at 4:21 AM, stan zimine wrote:

> Hi.
> Googled but did not found the answer for the following little issue.
>
> how to force R gui  on windows (maybe a specific setting)  to always
> show the last line of output in the window console.
>
>
> My program in R makes measurements every 5 mins in indefinite loop and
> prints  results in the console.
>
> The problem:  last messages are not visible,  The scrolling bar of the
> gui console  gets shorter. I.e.  you have to scroll for the last
> messages.
>
> Thanks if anybody knows the sol to this prob.

You may want to add flush.console() to the code.

-- 

David Winsemius, MD
West Hartford, CT



More information about the R-help mailing list