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

Description Usage Arguments Details Value

View source: R/edit.r

Description

Convenience function for editing a data frame in a window.

Usage

1
2
3
4
5
6
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


RGtk2Extras documentation built on May 29, 2017, 11:19 a.m.