Skip to content

Commit

Permalink
add gif preview to "run arbitrary code" app
Browse files Browse the repository at this point in the history
  • Loading branch information
daattali authored Oct 11, 2016
1 parent 583f5bd commit 318d5b3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,8 @@ This is a simple app with a tiny bit of JavaScript that shows you how to cause a

When I develop Shiny apps or packages for Shiny, I often find myself wanting to be able to run R code on-demand while the app is running. Outside of Shiny, in regular R programming, we have the R console where we can run any command at any point in time, but in Shiny we don't really have that. So while developing, I often add a text input that lets me type any R code into it and then run it. This is very useful for testing.

[![Demo](./run-arbitrary-code/run-arbitrary-code.gif)](./run-arbitrary-code)

<h2 id="serve-images-files">Serve files (images/text files/etc) instead of webpages from a Shiny app </h2>

**[Link to code](./serve-images-files)**
Expand Down Expand Up @@ -281,4 +283,4 @@ This list is slowly growing with time. Here are the new tricks added since the p
- 2016-08-29: [Getting the value of an object in a running Shiny app without access to a debugger](#debug-value)
- 2016-09-03: [Show a function's messages and warnings to the user](#show-warnings-messages)
- 2016-09-16: [Use a custom function to convert the JavaScript data into an R object](#javascript-to-r-handler)
- 2016-10-11: [Run arbitrary code live in Shiny - great for testing during development](#run-arbitrary-code)
- 2016-10-11: [Run arbitrary code live in Shiny - great for testing during development](#run-arbitrary-code)

0 comments on commit 318d5b3

Please sign in to comment.