value of the width HR optional argument, in pixel or percent
Size
value of the size HR optional argument
append
logical. If 'TRUE' output will be appended to 'file'; otherwise, it will overwrite the contents of 'file'
CSSclass
CSS class to use for personalised reports
Value
no value returned.
Note
For a discussion about .HTML.file default value for file argument, refer to HTMLStart
Author(s)
Eric Lecoutre
See Also
HTML
Examples
## Insert a line to a HTML file
## Change the path/name of the file to redirect to your test file
myfile <- paste(tempfile(),".html",sep="")
HTMLhr(file=myfile)
cat("\n Test output written in: ",myfile)
Results
R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> library(R2HTML)
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/R2HTML/HTMLbr.Rd_%03d_medium.png", width=480, height=480)
> ### Name: HTMLbr
> ### Title: Facility functions to write HTML code
> ### Aliases: HTMLbr HTMLhr HTMLli
> ### Keywords: print IO file
>
> ### ** Examples
>
>
> ## Insert a line to a HTML file
> ## Change the path/name of the file to redirect to your test file
>
> myfile <- paste(tempfile(),".html",sep="")
> HTMLhr(file=myfile)
> cat("\n Test output written in: ",myfile)
Test output written in: /tmp/RtmpWXoNOq/file1dd062ce8857.html>
>
>
>
>
>
> dev.off()
null device
1
>