Learn R Programming

shinylight (version 1.1.2)

sendInfoText: Sends informational text to the client.

Description

During a slow remote procedure call, call this to inform the client of progress.

Usage

sendInfoText(text)

Value

No return value

Arguments

text

The text to send

See Also

sendProgress for sending a progress completion ratio to the user.

Examples

Run this code
server <- slServer(
  port = 50051,
  interface = list(long_and_complicated = function(x) {
    # First part of work that takes some time
    # ...
    sendInfoText("We are about half way through")
    # Second part of work that takes some time
    # ...
  })
)
# ...
slStop(server)

Run the code above in your browser using DataLab