geneplotter (version 1.50.0)

openHtmlPage: 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.

Value

openHtmlPage, a connections.

Details

See example.

Examples

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

Run the code above in your browser using DataCamp Workspace