Description Usage Arguments Details
This is a setup function that must be called from a Shiny app's UI to
add the Lua implementation required for other shinyLua
functions to work.
1 |
rmd |
Logical; this must be set to |
This function adds 'fengari-web.js', a JavaScript port of the Lua VM, to an app's <head> tag
and resource path along with other startup scripts and dependencies. Any scripts in the UI
of type "application/lua"
will run in this embedded Lua VM. shinyLua
provides a
convenience function, luaScript
, for inserting Lua scripts into a Shiny UI.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.