1\name{HTMLbr} 2\alias{HTMLbr} 3\alias{HTMLhr} 4\alias{HTMLli} 5 6\title{ Facility functions to write HTML code } 7\description{ 8 Write <br>, <li> and <hr> tags, which are often used, to an output file. 9} 10\usage{ 11HTMLbr(x=1, file = HTMLGetFile(), append=TRUE) 12HTMLli(txt="", file = HTMLGetFile(), append=TRUE) 13HTMLhr(file = HTMLGetFile(), Width = "100\%", Size = "1", 14CSSclass=NULL, append=TRUE) 15} 16 17\arguments{ 18 \item{x}{ number of <br> to put } 19 \item{txt}{ text to appear after the <li> tag } 20 \item{file}{ HTML target output file} 21 \item{Width}{ value of the width HR optional argument, in pixel or percent} 22 \item{Size}{ value of the size HR optional argument} 23 \item{append}{ logical. If 'TRUE' output will be appended to 'file'; otherwise, it will overwrite the contents of 'file'} 24 \item{CSSclass}{ CSS class to use for personalised reports } 25} 26 27\value{ 28 no value returned. 29} 30 31\author{ Eric Lecoutre} 32 33\note{ For a discussion about .HTML.file default value for file argument, refer to \code{\link{HTMLStart}} } 34 35 36 37\seealso{ \code{\link{HTML}}} 38 39\examples{ 40 41## Insert a line to a HTML file 42## Change the path/name of the file to redirect to your test file 43 44myfile <- paste(tempfile(),".html",sep="") 45HTMLhr(file=myfile) 46cat("\n Test output written in: ",myfile) 47 48} 49\keyword{ print } 50\keyword{ IO } 51\keyword{ file } 52