Learn R Programming

jrc (version 0.2.1)

sendHTML: Send HTML to the server

Description

Sends a piece of HTML code to the server and adds it at the end or the body element.

Usage

sendHTML(html = "")

Arguments

html

HTML code that will be added to the web page.

See Also

sendData, sendCommand, callFunction, openPage.

Examples

Run this code
# NOT RUN {
openPage(FALSE)

sendHTML("Test...")
sendHTML("This is <b>bold</b>")
sendHTML("<table><tr><td>1</td><td>2</td></tr><tr><td>3</td><td>4</td></tr></table>")
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab