[R] R2HTML Report number format, or Better Way?
L.A.
romsa at millect.com
Mon Jan 4 16:58:13 CET 2010
Thanks, All
Jim your solution works and I'm playing around with it trying to learn the
"ins & outs"
I'd still like to figure out how to get this to work in R2HTML. I think I
worded my question wrong making
it appear more difficult, so I'll Try again.
Here is the data and code
>Par<-9683
>sal<-578
>M<-.9533
>C<-29.69
>srtype<-cbind(Par,sal,M,C)
> srtype
Par sal M C
[1,] 9683 578 0.9533 29.69
>library(R2HTML)
>HTMLStart(outdir="c:/R/reports", file="myreport1",
extension="html", echo=FALSE, HTMLframe=TRUE)
HTML(srtype)
HTMLhr()
HTMLStop()
R outputParsalMC
9683.00 578.00 0.95 29.69
I just want to format the R2HTML output to produce this:
R outputParsalMC
9683 578 0.95 29.69
Thanks again to everyone.
L.A.
--
View this message in context: http://n4.nabble.com/R2HTML-Report-number-format-or-Better-Way-tp997787p998348.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list