Radiant is an R-package for (business) analytics that includes a Shiny user interface. The tool is used in various graduate and undergraduate classes on data science, statistics, decision analysis, and (business) analytics at different universities. For an introduction to radiant see: https://www.youtube.com/watch?v=7L3hDpLw53I
Shiny App URL: https://vnijs.shinyapps.io/radiant/
RStudio Cloud Project: https://rstudio.cloud/project/246357
GitHub Organization: https://github.com/radiant-rstats
You can run the app from the Rstudio Addins menu ("Start radiant") or by running the command below on Rstudio Clould:
radiant::radiant("modeling/modeling-demo.state.rda")
See the video tutorial on running the modeling/modeling-demo.state.rda
state file: https://youtu.be/9fugq5dXNhk
Note that the app is setup on shinyapps.io to load user data from the user's local system. However, when launched from Rstudio Server it will use shinyFiles
to load data directly from the server.
Technical details:
- Radiant is an Rstudio addon that works with an Rstudio project workflow (i.e., can use relative paths within the project folder to load and save data)
- Generate R-code for reproducible analysis (https://youtu.be/pNNQc2lHR8Q). The generated R-code can be sent to the Report > Rmd tab in Radiant to be Knit and edited or directly to an open R(markdown) file in Rstudio.
- Save and restore full application state. For an example of loading a previously saved state file click on the floppy/save icon in the navigation bar and open "modeling/modeling-demo.state.rda" or "citibike/citibike.state.rda". This will take you to the tab last used before saving the state and includes all settings and data from the previous session
- Can be used with
shinyFiles
to load data from a server when launched from Rstudio Cloud or Rstudio Server - Included analysis functions can also be used without the browser interface (https://radiant-rstats.github.io/docs/programming.html)
- Also available as a docker image with Rstudio Server, Jupyter Lab, and Postgresql. See https://github.com/radiant-rstats/docker
- Radiant is extensible so additional custom "menus" can be included. See https://github.com/radiant-rstats/radiant.design for the (currently) simplest example on how to set this up.
Radiant documentation:
- radiant: https://radiant-rstats.github.io/docs/
- install instructions: https://radiant-rstats.github.io/docs/install.html
- radiant.data: http://radiant-rstats.github.io/radiant.data/articles
- radiant.design: http://radiant-rstats.github.io/radiant.design/articles
- radiant.basics: http://radiant-rstats.github.io/radiant.basics/articles
- radiant.model: http://radiant-rstats.github.io/radiant.model/articles
- radiant.multivariate: http://radiant-rstats.github.io/radiant.multivariate/articles
- video tutorials: https://radiant-rstats.github.io/docs/tutorials.html
Documentation for the Radiant + Rstudio + Jupyter Lab + Postgresql docker image:
- https://github.com/radiant-rstats/docker
- Install docker image on macOS
- Install docker image on Windows
- Install docker image on Linux
Note: Radiant 0.9.9 will (likely) be available on CRAN later this week