[R] Edit function

2006-06-07 Thread stat stat
Dear all R users, I have a query on Edit function. Suppose I have a data frame named data. I can use EDIT function to see the materials contained in data, by using the command: edit(data) But when I close the window then again the materials contained in data is displayed in

Re: [R] Edit function

2006-06-07 Thread Prof Brian Ripley
On Wed, 7 Jun 2006, stat stat wrote: Dear all R users, I have a query on Edit function. Suppose I have a data frame named data. I can use EDIT function to see the materials contained in data, by using the command: edit(data) But when I close the window then again the materials

Re: [R] Edit function

2006-06-07 Thread Ulrich Keller
fix(data) will invoke edit(data) and store changes you make in data without displaying anything. stat stat schrieb: Dear all R users, I have a query on Edit function. Suppose I have a data frame named data. I can use EDIT function to see the materials contained in data, by using

Re: [R] Edit function

2006-06-07 Thread ronggui
If you want to change the data,_fix_ will be a good option.But if you just want to browse the data ,then invisible(edit(data)) is better one. I remember this question showed up some time ago. 2006/6/7, Ulrich Keller [EMAIL PROTECTED]: fix(data) will invoke edit(data) and store changes you

Re: [R] Edit function

2006-06-07 Thread Pikounis, Bill [CNTUS]
stat Sent: Wednesday, June 07, 2006 8:36 AM To: r-help@stat.math.ethz.ch Subject: [R] Edit function Dear all R users, I have a query on Edit function. Suppose I have a data frame named data. I can use EDIT function to see the materials contained in data, by using the command

Re: [R] Edit function

2006-06-07 Thread François Pinard
[Pikounis, Bill [CNTUS]] view - function(x) { warnopt - options()$warn options(warn=-1) on.exit({sink(); options(warn=warnopt)}) edit(x) invisible() } I'm surprised by the necessity of sink(). Presuming it is necessary indeed, the above could be simplified a bit like this