[Rd] Rprintf loop status does not print under windows

From: Andrew Finley <afinley_at_stat.umn.edu>
Date: Sat 04 Feb 2006 - 18:14:34 GMT


Hello,
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;
}
status++;

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

Thanks-
Andy

-- 
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
http://blue.fr.umn.edu/home

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Sun Feb 05 05:22:45 2006

This archive was generated by hypermail 2.1.8 : Mon 20 Feb 2006 - 03:21:40 GMT