sendHTML {jrc} | R Documentation |
Send HTML to a web page
Description
Sends a piece of HTML code to a web page and adds it at the end
or the body
element. This function is a wrapper around sendHTML
method of
class Session
.
Usage
sendHTML(html = "", sessionId = NULL, wait = 0)
Arguments
html |
HTML code that will be added to the web page. |
sessionId |
An ID of the session to which the HTML should be sent. Can also be a vector of multiple session IDs.
If |
wait |
If |
See Also
sendData
, sendCommand
, callFunction
,
openPage
.
Examples
## Not run:
# to run this example an installed web browser is required
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>")
## End(Not run)
[Package jrc version 0.6.0 Index]