dataViewer {tkWidgets} | R Documentation |
Function to view a data object passed
Description
This function creates a widget to allow users to view the content of a data frame passed and decide whether to save the data or not.
Usage
dataViewer(data, caption = "", save = TRUE)
Arguments
data |
|
caption |
|
save |
|
Details
Taking a data frame as one of the arguments, this function builds a widget that allows users to view the content of the data and save the data as a file.
Value
This function does not return any value
Author(s)
Jianhua Zhang
References
R tcltk
See Also
Examples
# Create matrix
data <- matrix(1:20, ncol = 4)
if(interactive()){
# View data using dataViewer
dataViewer(data, "test", TRUE)
}
[Package tkWidgets version 1.74.0 Index]