[R] Delayed output from print(). Help for creating status output.

2006-04-03 Thread Monty B.
Hello all,

As this is my first time posting to this mailing list, I think I
should thank all the people who have contributed to the project. Many
man-hours have been saved on my part!

My question is simple - when i run a longer simulation, I would like
to be able to output the progress, typically n% complete at regular
intervals. It seems like R batches these outputs, or only responds
when i scroll the output window.

I am using R 2.2.1 for windows. Any suggestions or workarounds?

cheers,
Monty

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


Re: [R] Delayed output from print(). Help for creating status output.

2006-04-03 Thread Thomas Lumley
On Mon, 3 Apr 2006, Monty B.  wrote:
 Hello all,

 As this is my first time posting to this mailing list, I think I
 should thank all the people who have contributed to the project. Many
 man-hours have been saved on my part!

 My question is simple - when i run a longer simulation, I would like
 to be able to output the progress, typically n% complete at regular
 intervals. It seems like R batches these outputs, or only responds
 when i scroll the output window.

 I am using R 2.2.1 for windows. Any suggestions or workarounds?

Yes, they are described in the R for Windows FAQ (question 6.3).

-thomas

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


Re: [R] Delayed output from print(). Help for creating status output.

2006-04-03 Thread Michael H. Prager
?flush.console()

on 4/3/2006 11:51 AM Monty B. said the following:
 Hello all,

 As this is my first time posting to this mailing list, I think I
 should thank all the people who have contributed to the project. Many
 man-hours have been saved on my part!

 My question is simple - when i run a longer simulation, I would like
 to be able to output the progress, typically n% complete at regular
 intervals. It seems like R batches these outputs, or only responds
 when i scroll the output window.

 I am using R 2.2.1 for windows. Any suggestions or workarounds?

 cheers,
 Monty

 __
 R-help@stat.math.ethz.ch mailing list
 https://stat.ethz.ch/mailman/listinfo/r-help
 PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
   

-- 

Michael Prager, Ph.D.
Population Dynamics Team, NMFS SE Fisheries Science Center
NOAA Center for Coastal Fisheries and Habitat Research
Beaufort, North Carolina  28516
http://shrimp.ccfhrb.noaa.gov/~mprager/
Opinions expressed are personal, not official.  No
government endorsement of any product is made or implied.

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


Re: [R] Delayed output from print(). Help for creating status output.

2006-04-03 Thread Monty B.
On 4/3/06, Thomas Lumley [EMAIL PROTECTED] wrote:
 On Mon, 3 Apr 2006, Monty B.  wrote:
  Hello all,
 
  As this is my first time posting to this mailing list, I think I
  should thank all the people who have contributed to the project. Many
  man-hours have been saved on my part!
 
  My question is simple - when i run a longer simulation, I would like
  to be able to output the progress, typically n% complete at regular
  intervals. It seems like R batches these outputs, or only responds
  when i scroll the output window.
 
  I am using R 2.2.1 for windows. Any suggestions or workarounds?

 Yes, they are described in the R for Windows FAQ (question 6.3).

 -thomas

Thanks both thomas and michael. I checked the faq linked to at the
r-help mailing list:

http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html,

but to no avail. I will check the windows faq as well next time.

cheers,


Monty

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html