title: How to make actionButton runs code.R to an uploaded dataset?
body: <p>Am doing R Shiny web App that allows user to upload particular dataset from several sources.
  The app allows user to upload data first then preprocess it using existing code.R<br />
  for example if df1 uploaded must clean it using code1.R and so on for df2 and df3.</p>
  <p><em><strong>The code as follows</strong></em></p>
  <pre><code>
      server = function(input, output,session){
  
        vals &lt;- reactiveValues()
        observeEvent(input$run, {
          vals$korek_out &lt;- korek()
          showModal(modalDialog(&quot;calculation finished!&quot;))
        })
        
      }
    )
  )
  </code></pre>