I should loop through the list and print some part of it in HTML and some code as well To be more accurate: I want to produce the same product that is causing it.
& lt; H2 & gt; 1 is a large number & lt; / H2 & gt; & Lt ;! - begin.rcode echo = FALSE print (rnorm (5, mean = 1)) end.rcode - & gt; & Lt; H2 & gt; 2 is a large number & lt; / H2 & gt; & Lt ;! - begin.rcode echo = FALSE print (rnorm (5, mean = 2)) end.rcode - & gt; ... & lt; H2 & gt; X is a large number & lt; / H2 & gt;
I managed to print HTML but the results were printed directly in HTML, with the following chuck:
", i, "is a large number & lt; / H2> ") print (Rnorm (5, mean = i)) end.rcode ->
All suggestions will be very happy about.
PS: The reason for this is that I want to format, then it produces very good output.
Comments
Post a Comment