R/HTMLhref.R

`HTMLhref` <- function#adds an href item to the current HTML page
###adds an href item to the current HTML page
(href, ##<< HTML reference/URL
 txt, ##<< text to display
 file = get(".HTML.file"),##<< file to write to
 append = TRUE##<< append to file (default TRUE)
 ) {
    cat(paste('<a href=\"', href, '\"> ', txt, ' </a>', sep = ""), append = append,  file = file)
}

Try the HTMLUtils package in your browser

Any scripts or data that you put into this service are public.

HTMLUtils documentation built on June 11, 2022, 5:06 p.m.