writeDoc.bsdoc
From ReporteRs v0.7.7
by David Gohel
Write a bsdoc
object in a html file
Write the bsdoc
object in '.html' files located in a specified directory.
bootstrap files will be copied in the directory if directory does not exist.
Usage
## S3 method for class 'bsdoc':
writeDoc(doc, file, reset.dir = FALSE, ...)
Arguments
- doc
bsdoc
object that has to be written.- file
- single character value, name of the html file to write.
- reset.dir
- logical defaut to FALSE. Used to specify if the directory containing the file to produced should be deleted first (if existing for example). Set to FALSE enable to produce several html files in the same directory.
- ...
- further arguments, not used.
Value
- the function a character vector containing generated html documents filenames.
See Also
Examples
doc.filename = "writeDoc_bsdoc/example.html"
# set default font size to 11
options( "ReporteRs-fontsize" = 11 )
doc = bsdoc( )
# Write the object
writeDoc( doc, file = doc.filename )
Community examples
Looks like there are no examples yet.