editAsText {plotAndPlayGTK} | R Documentation |
This is analogous to edit.data.frame
, but rather than a spreadsheet-like
table, it writes the data in flat text format (tab-delimited) into a text box,
and reads it back after editing.
It is more difficult to read than a table, but it has the advantage of being able to
copy and paste to/from an external spreadsheet program.
editAsText(x, title = NULL, edit.row.names = any(row.names(x) != 1:nrow(x)))
x |
a data.frame . |
title |
the window title. For editAsText the default is based on x . |
edit.row.names |
whether to include row names as an editable column. |
If the number of rows changes a warning is issued.
New factor levels can not be added. Factor levels not in the original set will be NA.
editAsText
returns a data frame, which should have the same column types as x
.
Felix Andrews felix@nfrac.org
edit.data.frame
, edit
, read.delim
## Not run: str(iris) str(editAsText(iris)) ## End(Not run)