#' Warning function that will display warning in LyxMaxima GUI
mywarning = function(txt) {
warning(txt)
svalue(text.term) = paste(txt,"\n",svalue(text.term))
}
#' is.null(x) | length(x) == 0
is.empty = function(x) {
is.null(x) | length(x) == 0
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.