shinylight.runR {shinylight} | R Documentation |
JavaScript function: Runs an R function.
Description
The R side must be running the slRunRServer function.
Arguments
rCommand |
|
data |
|
plotElement |
|
extra |
|
Value
Result object that might have a plot
property (giving a string that would work as the src
attribute of an img
element, representing graphics
drawn by the command) and a data
property (giving
the value returned by the command). If the promise resolves
to an error, the argument to the error function is a string
representing the cause of the error.