[R] R2HTML and summary of dynlm model

Stephen J. Barr stephenjbarr at gmail.com
Fri Apr 17 06:44:39 CEST 2009


Hello,

I am having a bit of trouble with using R2HTML to produce the summary
of a dynlm model. I do an HTMLStart(), then have a for loop creating
different models, and I am trying to print out each model. I can use
HTML() on the model object itself, but I cannot get it to print to
summary object. Any thoughts / experience?

>HTML("trying to print summary")
>HTML(rModel.Seasonal)  # THIS WORKS
>HTML(summary(rModel.Seasonal, doplot=FALSE)) # this FAILS
>HTMLhr()
+ }
Error in if (xi == xj) 0L else if (xi > xj) 1L else -1L :
  argument is of length zero
HTML> HTMLStop()
[1] "html//report2.html"

Thanks,
-stephen
==========================================
Stephen J. Barr
University of Washington
WEB: www.econsteve.com




More information about the R-help mailing list