dfedit {RGtk2Extras}R Documentation

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

Details

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

Value

Returns the edited data frame after running modally


[Package RGtk2Extras version 0.6.1 Index]