\HeaderA{openHtmlPage}{Open and close an HTML file for writing.}{openHtmlPage}
\aliasA{closeHtmlPage}{openHtmlPage}{closeHtmlPage}
\keyword{IO}{openHtmlPage}
\begin{Description}\relax
Open and close an HTML file for writing..
\end{Description}
\begin{Usage}
\begin{verbatim}
  openHtmlPage(name, title="")
  closeHtmlPage(con)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{name}] Character. File name (\emph{without} the extension '.html').
\item[\code{title}] Character. Value of the \code{title} tag in the HTML header.
\item[\code{con}] Connection.
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
See example.
\end{Details}
\begin{Value}
For \code{openHtmlPage}, a \code{\LinkA{connection}{connection}}.
\end{Value}
\begin{Author}\relax
Wolfgang Huber \url{http://www.dkfz.de/abt0840/whuber}
\end{Author}
\begin{SeeAlso}\relax
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
  fn <- tempfile()
  con <- openHtmlPage(fn, "My page")
  writeLines("Hello world", con)
  closeHtmlPage(con)
  readLines(paste(fn, ".html", sep=""))
\end{ExampleCode}
\end{Examples}


