stan zimine
2011-Apr-02 08:21 UTC
[R] R gui on windows how to force to always show the last line of output
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. SZ
Jannis
2011-Apr-02 11:15 UTC
[R] R gui on windows how to force to always show the last line of output
If I were you, I would use another GUI. The standart GUI (to mee) seems to be very basic and lacks many handy features (e.g. autosave etc). I am not sure which GUI does what you want, but just try a few (list is sorted from intuitive to more complicated): -RStudio (still in Beta but very nive) -TinnR -Rkward -Emacs -ESS (I am quite sure that this one does what you want) -Eclipse - StatET Just try a few.... Jannis On 04/02/2011 10: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. > > SZ > > ______________________________________________ > 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. >
David Winsemius
2011-Apr-02 12:27 UTC
[R] R gui on windows how to force to always show the last line of output
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
lcn
2011-Apr-03 13:05 UTC
[R] R gui on windows how to force to always show the last line of output
CTRL+L helps. 2011/4/2 stan zimine <szimine@gmail.com>> 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. > > SZ > > ______________________________________________ > R-help@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. >[[alternative HTML version deleted]]
stan zimine
2011-Apr-05 23:30 UTC
[R] R gui on windows how to force to always show the last line of output
thank you, David, for your answer, which has a therapeutic effect. Otherwise i was launching my prod code from Emacs ESS jas as Janice suggested. On Sat, Apr 2, 2011 at 2:27 PM, David Winsemius <dwinsemius at comcast.net> wrote:> > 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 > >
Apparently Analagous Threads
- zoo.read intraday data
- JBOD recommendation for ZFS usage
- dovecot: 2011-11-04 16:58:01 Error: IMAP(<user>): FETCH for mailbox Trash UID 42022 got too little data: 90900 vs 1529791
- uid fetch/store always use the last uid when range is invalid
- bug report: last login time vs PAM in portability release