Others mentioned progress bars and sprintf, one other option is to use a named
vector and let R to the formatting:
> tmp <- c(10, -1234) # or variables to put the values in
> names(tmp) <- c('Iteration', ' Log Likelihood')
> print(tmp)
Hope this helps,
--
Gregory (Greg) L. Snow Ph.D.
Stati
-
From: b.rowling...@googlemail.com [mailto:b.rowling...@googlemail.com] On
Behalf Of Barry Rowlingson
Sent: Thursday, June 17, 2010 11:50 AM
To: Doran, Harold
Cc: r-help@r-project.org
Subject: Re: [R] Pretty printing progress
On Thu, Jun 17, 2010 at 3:33 PM, Doran, Harold wrote:
> I ha
Of Douglas Bates
Sent: Thursday, June 17, 2010 12:14 PM
To: Barry Rowlingson
Cc: Doran, Harold; r-help@r-project.org
Subject: Re: [R] Pretty printing progress
On Thu, Jun 17, 2010 at 10:50 AM, Barry Rowlingson
wrote:
> On Thu, Jun 17, 2010 at 3:33 PM, Doran, Harold wrote:
>> I have a
On Thu, Jun 17, 2010 at 4:56 PM, Doran, Harold wrote:
> Hi Barry:
>
> I don't think so. In addition to what I put in the example below, there are
> some other diagnostics I want to print to screen as the optimization
> proceeds. I don't see in the help page whether that is possible in this
> fu
On Thu, Jun 17, 2010 at 10:50 AM, Barry Rowlingson
wrote:
> On Thu, Jun 17, 2010 at 3:33 PM, Doran, Harold wrote:
>> 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 thing
On Thu, Jun 17, 2010 at 3:33 PM, Doran, Harold wrote:
> 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
6 matches
Mail list logo