edit(df) invokes data.entry() on the data frame df and returns the edited version without altering the original. Thus
df <- edit(df) [or fix(df)] actually to change df, or invisible(edit(df)), or something equivalent, simply to look (and discard changes if they are made).
I hope that this helps, John
At 08:19 PM 1/12/2004 +0000, you wrote:
Hi Folks,
The spreadsheet-like layout displayed when 'data.entry' is invoked is very useful simply for legible display of data, quite apart from its intended use for the purpose of entering or editing data.
If one wants to use it _simply_ as a display device, so that one can look around inside a data-set while working on it, then it is not a good idea to have its _editing_ capabilities active: this is dangerous, since an inadvertent keystroke could change the data.
So: is there a way to invoke 'data.entry' in "read-only" mode? Or some other function with equivalent display which can be run "read-only"?
[Bonus question: is there a way to change its cosmetics, e.g. background colour, font, ... ?]
With thanks, Ted.
-------------------------------------------------------------------- E-Mail: (Ted Harding) <[EMAIL PROTECTED]> Fax-to-email: +44 (0)870 167 1972 Date: 12-Jan-04 Time: 20:19:58 ------------------------------ XFMail ------------------------------
______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
____________________________ John Fox Department of Sociology McMaster University email: [EMAIL PROTECTED] web: http://www.socsci.mcmaster.ca/jfox
______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
