From afinley at stat.umn.edu  Sat Feb  4 19:14:34 2006
From: afinley at stat.umn.edu (Andrew Finley)
Date: Sat, 04 Feb 2006 12:14:34 CST
Subject: [Rd] Rprintf loop status does not print under windows
Message-ID: <200602041814.k14IEYSR012282@badlands.software.umn.edu>

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



[Rd] Rprintf loop status does not print under windows
Andrew Finley