tk2edit | R Documentation |
A tkTable widget is used to display and edit a matrix or data frame. One can edit entries, add or delete rows and columns, ...
tk2edit(
x,
title = "Matrix Editor",
header = NULL,
maxHeight = 600,
maxWidth = 800,
fontsize = 9,
...
)
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. |
The function is used for its side-effet, that is, to modify a matrix or data frame in a spreadsheet-like editor.
You need the tkTable widget to use this function.
Jeffrey J. Hallman
tclSetValue()
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.