# export the input string to a texะ file
writeinput <- function(msg="", dir) {
inputfile <- paste0(dir,"/RLongLexToinput.txt")
con <- file(inputfile, "w")
tryCatch({
cat(iconv(msg, to="UTF-8"), file=con, sep="\n")
},
finally = {
close(con)
})
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.