Quantcast
Channel: Active questions tagged r - Stack Overflow
Viewing all articles
Browse latest Browse all 201919

How can I use an R Shiny action button to run a R script

$
0
0
I have an R script that performs ETL process and pushes the data to a MySQl database. I want a button in my shiny app to run this script (on click of a button) and update push the updated data to the database. I have already tried
[this][1]
[this][2] 
[this][1]

[this][3]

  [1]: https://stackoverflow.com/questions/56531699/how-to-pass-the-r-script-into-r-shiny
  [2]: https://stackoverflow.com/questions/31376169/how-can-i-connect-r-script-with-shiny-app-in-r
  [3]: https://stackoverflow.com/questions/45206141/how-to-run-another-rscript-using-a-button-on-another-script-in-shiny

My R script is basically a function that performs the tasks. However, since it just pushes data to the database, there's nothing that it outputs.


Viewing all articles
Browse latest Browse all 201919

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>