Custom Loader for Shiny Outputs

A custom css/html or gif/image file for the loading screen in R 'shiny'. It also can use the marquee to have custom text loading screen.


shinycustomloader

This R-package is an extension to the shinycssloaders package and allows for custom css/html or gif/image file for the loading screen. You may include your css/html files or gif/image files for your custom loading screen. There are twelve built in css/html loading screen specified by dnaspin, pacman, loader1, loader2, ..., loader10.

You can install this package from github as:

Installation

devtools::install_github('emitanaka/shinycustomloader')

Example

You can see an example shiny app that employs the custom loaders by launching an example app in the package.

library(shinycustomloader)
shinyExample()

Customisation

The command is a simple wrapper for the shiny output and you can easily specify your own favorite gif (say nyancat.gif) for customisation. Place nyancat.gif in the folder www within your shiny app folder (create one if you don't have it in your shiny folder).

withLoader(plotOutput("distPlot"), type="image", loader="nyancat.gif")

You can also further customise by inputting your own text as a marquee object with its own style.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("shinycustomloader")

0.9.0 by Emi Tanaka, 9 years ago


Browse source code at https://github.com/cran/shinycustomloader


Authors: Emi Tanaka and Niichan


Documentation:   PDF Manual  


GPL-3 license


Imports glue, shiny

Suggests shinycssloaders


Imported by RSP, RawHummus, SOMEnv, discoveR, forecasteR, jsmodule, loadeR, predictoR, regressoR.


See at CRAN