Maybe this link can help you:

http://rstudio.github.io/shiny/tutorial/#more-widgets

This is an example with submit button.

-------------------------------------------------------------------------------------
- László-András Zsurzsa,                                                -
- Msc. Infromatics, Technical University Munich, Germany -
- Scientific Employee, TUM                                             -
-------------------------------------------------------------------------------------


On Fri, Sep 13, 2013 at 12:21 AM, Dimitri Liakhovitski <
dimitri.liakhovitski@gmail.com> wrote:

> Hello!
>
> I am learning to use Shiny.
>
> Imagine my ui.r file contains two different inputs that I can change:
>
> sidebarPanel(
>   numericInput("input1", "My input 1:", 5),
>   numericInput("input2", "My input 2:", 10)
> )
>
>
> And I am generating (in server.r file) the sum of those two using
> reactive({...
>
> If I change just one of the inputs, I immediately get the changed result -
> because the whole expression is reactive.
>
> Question: is there any way to delay the production of the output until one
> wants it to be produced (i.e., only after one selected all the correct
> inputs needed) and have something like a "RUN" button?
>
> Thank you!
>
> --
> Dimitri Liakhovitski
>
>         [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

	[[alternative HTML version deleted]]

