create_diff | R Documentation |
creates a diff of two text files. Based on jsdiff (BSD) javascript library by Kevin Decker. If character vectors are supplied, a diff will be created from them as well.
create_diff(oldFile = NULL, newFile = NULL)
oldFile |
old |
newFile |
new |
create_diff("foo\nbar", "foo\nbaz")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.