Package: shinylight 1.2

shinylight: Web Interface to 'R' Functions

Web front end for your 'R' functions producing plots or tables. If you have a function or set of related functions, you can make them available over the internet through a web browser. This is the same motivation as the 'shiny' package, but note that the development of 'shinylight' is not in any way linked to that of 'shiny' (beyond the use of the 'httpuv' package). You might prefer 'shinylight' to 'shiny' if you want a lighter weight deployment with easier horizontal scaling, or if you want to develop your front end yourself in JavaScript and HTML just using a lightweight remote procedure call interface to your R code on the server.

Authors:Pieter Vermeesch [aut], Tim Band [aut, cre]

shinylight_1.2.tar.gz
shinylight_1.2.zip(r-4.5)shinylight_1.2.zip(r-4.4)shinylight_1.2.zip(r-4.3)
shinylight_1.2.tgz(r-4.4-any)shinylight_1.2.tgz(r-4.3-any)
shinylight_1.2.tar.gz(r-4.5-noble)shinylight_1.2.tar.gz(r-4.4-noble)
shinylight_1.2.tgz(r-4.4-emscripten)shinylight_1.2.tgz(r-4.3-emscripten)
shinylight.pdf |shinylight.html
shinylight/json (API)

# Install 'shinylight' in R:
install.packages('shinylight', repos = c('https://tim-band.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/tim-band/shinylight/issues

On CRAN:

3.18 score 1 packages 1 scripts 672 downloads 9 exports 9 dependencies

Last updated 9 months agofrom:285e87a529. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 08 2024
R-4.5-winOKNov 08 2024
R-4.5-linuxOKNov 08 2024
R-4.4-winOKNov 08 2024
R-4.4-macOKNov 08 2024
R-4.3-winOKNov 08 2024
R-4.3-macOKNov 08 2024

Exports:encodePlotencodePlotAsgetAddressrunRsendInfoTextsendProgressslRunRServerslServerslStop

Dependencies:fastmaphttpuvjsonlitelatermagrittrpromisesR6Rcpprlang

Readme and manuals

Help Manual

Help pageTopics
Opens a browser to look at the serverbrowseTo
Encodes a data frame as a CSV file to be downloadeddownloadCsv
Renders a plot as a base64-encoded imageencodePlot
Renders a plot as a base64-encoded PNGencodePlotAs
JavaScript function: Starts the Shinylight Framework, if you want to use it.framework.shinylightFrameworkStart
Obtains the address that the server is listening ongetAddress
Get index.html with (potentially) the JSON data in `text` inserted.indexWithInit
Makes and starts a server for serving R calculationsrrpcServer
Returns a function that runs an R commandrunR
Sends informational text to the client.sendInfoText
Sends a progress update to the client.sendProgress
JavaScript functionshinylight.call
JavaScript functionshinylight.initialize
JavaScript functionshinylight.makeTable
JavaScript functionshinylight.passToOther
JavaScript function: Runs an R function.shinylight.runR
JavaScript functionshinylight.setElementJson
JavaScript function: Sets an '<img>' element to display a plot returned by 'runR'.shinylight.setElementPlot
JavaScript functionshinylight.setElementText
JavaScript functionshinylight.setGridResult
JavaScript functionshinylight.setGridResultWithNamedRows
Start a ShinyLight server which runs R that it is sentslRunRServer
Start a ShinyLight serverslServer
Stops a ShinyLight GUIslStop
JavaScript function: Finds if a predicate is true for all members of an array or object.toolkit.all
JavaScript function: Finds if a predicate is true for any member of an array or object.toolkit.any
JavaScript functiontoolkit.banner
JavaScript function: Returns a button.toolkit.button
JavaScript function: Dereferences an object or array through multiple indices.toolkit.deref
JavaScript function: A panel with a smaller footer.toolkit.footer
JavaScript functiontoolkit.forEach
JavaScript function: Option group titletoolkit.groupTitle
JavaScript function: A panel with a smaller header.toolkit.header
JavaScript class: A monkey-patched 'HTMLElement'.toolkit.HTMLContainerElement
JavaScript classtoolkit.HTMLControlContainerElement
JavaScript classtoolkit.HTMLControlElement
JavaScript class: A monkey-patched 'HTMLElement' with some extra methods.toolkit.HTMLPositionedElement
JavaScript functiontoolkit.image
JavaScript function: A panel with a side bar.toolkit.leftSideBar
JavaScript function: Returns a button that uploads a file from the client.toolkit.loadFileButton
JavaScript function: Makes a label suitable for labelling a control.toolkit.makeLabel
JavaScript function: Returns a Positioned Element just containing one element.toolkit.nonScrollingWrapper
JavaScript function: Returns a Container Element for displaying controls vertically.toolkit.optionsPage
JavaScript function: A panel with an overlay.toolkit.overlay
JavaScript function: Returns a Positioned Element for displaying controls in tabbed pages.toolkit.pages
JavaScript function: Returns a checkbox input Toolkit Control.toolkit.paramBoolean
JavaScript function: Returns a colour input Toolkit Control.toolkit.paramColor
JavaScript function: Returns a floating point input Toolkit Control.toolkit.paramFloat
JavaScript function: Returns an integer input Toolkit Control.toolkit.paramInteger
JavaScript function: Returns a custom selection box Toolkit Control.toolkit.paramSelector
JavaScript function: Returns a text input Toolkit Control.toolkit.paramText
JavaScript function: A static text Toolkit Control in a preformatted style.toolkit.preformattedText
JavaScript function: Returns a Positioned Element progress bar.toolkit.progressBar
JavaScript function: A panel with a side bar.toolkit.rightSideBar
JavaScript function: Returns a Positioned Element just containing one element.toolkit.scrollingWrapper
JavaScript function: Replaces the '<main>' tag in the document with this element.toolkit.setAsBody
JavaScript function: Returns a Container Element for displaying controls vertically.toolkit.stack
JavaScript function: A static text Toolkit Control.toolkit.staticText
JavaScript function: Left/right panels with a draggable divider.toolkit.verticalDivide
JavaScript function: Transforms a function that should not be called too often into a function that can be called as often as you like.toolkit.whenQuiet
JavaScript function: Adds a fake callback argument to a nullary function.toolkit.withTimeout