# not work
spark_setloglevel <- function(sc, loglevel = "ERROR"){
loglevel <- ensure_scalar_character(loglevel)
spark_context(sc) %>%
invoke("setLogLevel", loglevel)
}
environment(spark_setloglevel) <- asNamespace('sparklyr')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.