tk2edit: Edit a matrix or data frame in spreadsheet-like editor

Description Usage Arguments Value Note Author(s) See Also Examples

Description

A tkTable widget is used to display and edit a matrix or data frame. One can edit entries, add or delete rows and columns, ....

Usage

1
2
tk2edit(x, title = "Matrix Editor", header = NULL,
    maxHeight = 600, maxWidth = 800, fontsize = 9, ...) 

Arguments

x

a matrix or data frame to edit.

title

the title of the editor window.

header

do we display a header?

maxHeight

the maximum height of the editor window.

maxWidth

the maximum width of the editor window.

fontsize

the size of the font to use in the editor window.

...

further arguments to pass to the function.

Value

The function is used for its side-effet, that is, to modify a matrix or data frame in a spreadsheet-like editor.

Note

You need the tkTable widget to use this function

Author(s)

Jeffrey J. Hallman

See Also

tclSetValue

Examples

1
2
3
4
5
6
7
## Not run: 
## These cannot be run by examples() but should be OK when pasted
## into an interactive R session with the tcltk package loaded
data(iris)
tk2edit(iris)	

## End(Not run)

tcltk2 documentation built on May 2, 2019, 9:37 a.m.