[Rd] Rprintf loop status does not print under windows

Andrew Finley afinley at stat.umn.edu
Sat Feb 4 19:14:34 CET 2006

I am writing a c/c++ extension package that does some mcmc sampling, and
periodically writes the sampling status to the terminal via Rprintf.  So in
my sampling loop I have:

if(status == 100){
  Rprintf("%i...", s);
  status = 0;

Under linux/unix this works fine, but under windows the status is not
printed.  Am I missing something?


Andrew Finley, Research Fellow
Department of Forest Resources
College of Natural Resources
University of Minnesota
305 Green Hall
1530 Cleveland Avenue N.
St. Paul, MN 55108

Ph 612-624-1714 office

More information about the R-devel mailing list