Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: RE: displaying loop counter in mata

From   Nick Cox <>
To   "''" <>
Subject   st: RE: displaying loop counter in mata
Date   Thu, 8 Dec 2011 18:06:54 +0000

I'm guessing wildly that what you are seeing is something else, perhaps buffering of output or the effects of a faster machine. I've not sensed that Mata has changed in this regard from 11 to 12. 


Patrick Roland

I'm trying to get mata to display the loop index, as in the following code:

d = luinv(runiform(1000,1000))

I find that this works fine on Stata 11.2 on my laptop, but not on
Stata 12 installed on a server and accessed using the text-based
interface. Instead it finishes the loop and displays all output at
once. Does anyone know how to get mata to display the index as it
comes it it, rather than at the end of the loop?

*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index