Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, is already up and running.

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

st: displaying loop counter in mata

From   Patrick Roland <>
Subject   st: displaying loop counter in mata
Date   Thu, 8 Dec 2011 09:52:25 -0800

Hi all,

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–2016 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index