I am wondering if one can integrate R shiny into the current website (PHP or RoR). I just want to leverage the power of R Shiny to make an app embedded into the current website. But as far as I know Shiny needs to run on its own server instead of Apache. Is it possible for a seamless integration without using iframe?
Thanks
But the simplest way to run a Shiny app is to run it locally. You only need the shiny R package installed, and you can run the app in your browser. In this post you'll see a few ways of how to organize your files to be served locally.
Your title asks about importing a data frame into shiny. That can be done by storing the data frame either as a binary file using the save() function or a csv file using write. csv() and having the shiny app read it in using load() for a binary file or read. csv() for a csv file.
An alternative is to use an iframe (HTML), as is described here: https://groups.google.com/forum/?fromgroups=#!topic/shiny-discuss/2VwEWXYJwYs
An example is shown here: http://stla.overblog.com/reactive-3d-surface
Hope this helps
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With