Description Usage Arguments Examples
Wrapper to load an image from a cold boot.
1 | shinyload(filename)
|
filename |
The filename of a file previously generated by shinyimg's $save function. |
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## Not run:
local_tiger = shinyimg$new(system.file("images","sample.jpg",package="ShinyImage"))
# sample.jpg is titled A tiger in the water
# By Bob Jagendorf
# [CC BY 2.0 (http://creativecommons.org/licenses/by/2.0)],
# via Wikimedia Commons
local_tiger$save("tiger.si")
# Restart R
reloaded_tiger = shinyload("tiger.si")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.