formatStatement <- function (format) {
function (statement) {
if (format == 'compact') {
multiline <- FALSE
} else if (format == 'smart') {
multiline <- length(statement) > 3L
} else {
multiline <- TRUE
}
sqlCommaList(statement, multiline)
}
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.