Rmarkup {doBy} | R Documentation |
HTMLreport provides a simple framework for mixing text and R code for automatic report generation. The basic idea is to replace the R code with its output, such that the final document only contains the text and the output of the statistical analysis.
Rmarkup(srcfile, driver = RweaveHTMLreport(), destdir=".", postfix="REPORT", cssfile=NULL, cleanup=TRUE, parms=list(height=400,width=600), details=0,...)
srcfile |
A text file with R code and descriptive text. The file name extension can be anything except .html as this is the name of the output file |
driver |
The actual workhorse |
destdir |
Specification of where to put the report. |
postfix |
A string to append to the filename for the HTML file. |
cssfile |
An optional cssfile; must be located in destdir to take effect. |
cleanup |
If set to |
parms |
Control height and width of graphics. |
details |
Set to a positive value to see intermediate results; mainly for debugging purposes. |
... |
Further arguments, currently not used. |
None
HTMLreport is a recent addition to the doBy package and it has not been thoroughly tested.
Søren Højsgaard <sorenh at mail dot dk>
tf <- system.file("HTMLreport", "PuromycinAnalysis-report.R", package = "doBy") ## Create report in working directory Rmarkup(tf) ## Creates report in specified directory (which must exist). ## Rmarkup(tf, path=".REPORT/")