Hi L.A.,
Use the package 'hwriter' to produce HTML pages/objects.
library(hwriter)
hwrite(srtype, page=c:/R/reports/myreport1.html)
'hwrite' can be combined with the function 'format' (to manage number
format, digits, decimal places, etc...) and supports advanced HTML/CSS
formatting
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
Here I am again with question I'll feel foolish for asking, when I
see the answer.
I'm trying to produce a report and here's where I get stuck:
How do I get R2HTML to produce the same number format?
Particularly remove the decimal places for Par and Sal.
Are there better methods to produce
On 01/04/2010 03:36 AM, L.A. wrote:
Here I am again with question I'll feel foolish for asking, when I
see the answer.
I'm trying to produce a report and here's where I get stuck:
How do I get R2HTML to produce the same number format?
Particularly remove the decimal places for Par and Sal.
L.A. wrote:
Here I am again with question I'll feel foolish for asking, when I
see the answer.
I'm trying to produce a report and here's where I get stuck:
srtype-cbind(Par,Sal,Median,COD,PRD,LowerCI,UpperCI)
srtype
Chances are better to get a reply when you supply the data as
Thanks for the replys.
I've played with both suggestions, but must not understand as I could not
get
them to work. In the first, do I have to save my results as a *.dat file?
Where do I find the HTML file?
For the second, As a beginner, is this what you mean by supply the data
as code?
On 01/04/2010 10:49 AM, L.A. wrote:
Thanks for the replys.
I've played with both suggestions, but must not understand as I could not
get
them to work. In the first, do I have to save my results as a *.dat file?
No, I simply showed how I obtained the data frame that you gave as an
L.A. wrote:
For the second, As a beginner, is this what you mean by supply the data
as code?
The actual data is 17000 rows and 31 columns.
In your case, it is irrelevant if the data are 17000x31 or 2x3, so an
example with few columns is sufficient. And if you supply the data in code,
8 matches
Mail list logo