Learn R Programming

traitr (version 0.14)

wrap_in_tag: write values in paired tags with optional class

Description

internal function for writing proto docs

internal function for writing proto docs. return a string

internal function for writing proto docs.

internal function for writing proto docs. return a string

internal function for writing proto docs.

merge two lists, possibly overwriting

A window to show a loading animation

Usage

wrap_in_tag(tag, ..., class = "")
desc(...)
param(value, ...)
returns(...)
ul(values)
"merge"(x, y, overwrite = TRUE)
loadingAnimation(message = "Loading...")

Arguments

tag
tag to wrap in, eg. "ul"
...
values to be wrapped. Pasted together
class
optional call to add to tag
value
name of parameter return a string
values
values to put into list items
x
a list
y
a list. Named values of y are assigned to x and then x is returned.
overwrite
If TRUE named values in y clobber similarly named values in x
message
A message to display along with graphic while loading. PANGO markup is okay.

Value

a stringreturns a stringReturns a listAn item group instance with a close method to call to dismiss window

Examples

Run this code
## we call, something happens, then we close
## Not run: 
# w <- loadingAnimation()
# ## .... something long, like dlg$make_gui() ...
# w$close()
# ## End(Not run)

Run the code above in your browser using DataLab