Rmarkup {doBy}R Documentation

Automatic Generation of Reports (as HTML documents)

Description

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.

Usage

Rmarkup(srcfile, driver = RweaveHTMLreport(), destdir=".",
postfix="REPORT", cssfile=NULL, cleanup=TRUE,
parms=list(height=400,width=600), details=0,...)


Arguments

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 FALSE then the temporary files are not removed.

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.

Value

None

Note

HTMLreport is a recent addition to the doBy package and it has not been thoroughly tested.

Author(s)

Søren Højsgaard <sorenh at mail dot dk>

See Also

Sweave

Examples

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/")


[Package doBy version 4.5.2 Index]