I have a function that is an iterative process for estimating some MLEs. I want to print some progress to screen as the process iterates. I would like to try and line things up nicely in the R window, but am not sure the best way to do this. Below is a toy example. Suppose I want the value of 10 to be just below "iteration" and the value of -1234 to be just below 'Log Likelihood'.

I cannot seem to get these to line up nicely on screen as a progress indicator. Any recommendations?


cat('Iteration', '\t', 'Log Likelihood', '\n', 10, '\t', -1234, '\n')

Harold

	[[alternative HTML version deleted]]

