Dear Ted,

At 11:17 PM 1/12/2004 +0000, Ted Harding wrote:
On 12-Jan-04 John Fox wrote:
> Dear Ted,
> [...]
> invisible(edit(df)),
> or something equivalent, simply to look (and discard changes if they
> are made).

Thanks for the reminder about "invisible" -- as well as junk<-de(df)
one could use invisible(de(df)).

However, users please note:

invisible(data.entry(df))

will change df (since that's what data.entry does "internally" on exit,
as a "side effect", whether wrapped in "invisible" or not).

Indeed, which is why I suggested edit() rather than calling data.entry() directly.


Regards,
 John

-----------------------------------------------------
John Fox
Department of Sociology
McMaster University
Hamilton, Ontario, Canada L8S 4M4
email: [EMAIL PROTECTED]
phone: 905-525-9140x23604
web: 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

Reply via email to