tests/dataview.R

library(qtutils)

## test utility

showAndClose <- function(x, wait = 3, title = deparse(substitute(x)))
{
    x$show()
    x$windowTitle <- as.character(title)
    Sys.sleep(wait)
    x$close()
    invisible()
}    

showAndClose(data.browse())
showAndClose(qdataview(iris))

## showAndClose(qpager())

Try the qtutils package in your browser

Any scripts or data that you put into this service are public.

qtutils documentation built on May 29, 2017, 5:54 p.m.