Re: [Rd] Rprintf loop status does not print under windows

2006-02-04 Thread Liaw, Andy
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Duncan Murdoch > Sent: Saturday, February 04, 2006 1:23 PM > To: Andrew Finley > Cc: r-devel@r-project.org > Subject: Re: [Rd] Rprintf loop status does not print under windows

Re: [Rd] Rprintf loop status does not print under windows

2006-02-04 Thread Duncan Murdoch
On 2/4/2006 1:14 PM, Andrew Finley wrote: > 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; > }

[Rd] Rprintf loop status does not print under windows

2006-02-04 Thread Andrew Finley
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 wind