The toHTML function is imported from package textutils.
Help is available at textutils::toHTML.
Say library("textutils") in your code to use the function.
Add the following code to your website.
Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.