Learn R Programming

RGtk2Extras (version 0.6.1)

dfedit: Convenience function for editing a data frame in its own window

Description

Convenience function for editing a data frame in a window.

Usage

dfedit(items, dataset.name = deparse(substitute(items)), size=c(600, 300), col.width=64, editable=TRUE, autosize = is.null(dim(items))||ncol(items)<25, update="TRUE," modal="TRUE)

Arguments

items
The data frame to edit
dataset.name
Optional name to assign the dataset when updating
size
Optional window size request
col.width
Optional column size
editable
Allow user editing of the frame
autosize
Columns automatically size to fit headers
update
Update the frame on the fly with editing
modal
TRUE for the editor to halt R and return an object

Value

Details

IF set to NULL, is the name of the dataset.