submission_server | R Documentation |
The following function has modified from Colin Rundel's learnrhash package, available at https://github.com/rundel/learnrhash. Many thanks to Professor Rundel, who has developed a fantastic tool for courses that teach R and use the learnr package.
This note is also modified from Professor Rundel's description: Note that when including these functions in a learnr Rmd document it is necessary that the server function, 'submission_server()', be included in an R chunk where 'context="server"'. Conversely, any of the ui functions, '*_ui()', must *not* be included in an R chunk with a 'context'.
submission_server(input, output) submission_ui
An object of class shiny.tag
of length 3.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.