openHtmlPage: Open and close an HTML file for writing.

View source: R/openHtmlPage.R

openHtmlPageR Documentation

Open and close an HTML file for writing.

Description

Open and close an HTML file for writing..

Usage

  openHtmlPage(name, title="")
  closeHtmlPage(con)

Arguments

name

Character. File name (without the extension '.html').

title

Character. Value of the title tag in the HTML header.

con

Connection.

Details

See example.

Value

For openHtmlPage, a connections.

Author(s)

Wolfgang Huber http://www.dkfz.de/abt0840/whuber

Examples

  fn <- tempfile()
  con <- openHtmlPage(fn, "My page")
  writeLines("Hello world", con)
  closeHtmlPage(con)
  readLines(paste(fn, ".html", sep=""))

Bioconductor/geneplotter documentation built on Nov. 2, 2024, 7:25 a.m.