[S] guiOpenView

David Butler (butlerd@sunt4.sth.dpi.qld.gov.au)
Wed, 16 Sep 1998 09:45:46 +1000 (EST)


Dear GUI Experts,

Using S-PLUS 4.5 on Win95, I wish to (interactively) edit a data frame
from within a function and then proceed (within the same function)
using the modified object. I can achieve part of this with guiOpenView
but once the datasheet is open I want my function to pause until the
datasheet window is closed. I presume I need some call back mechanism
but I can't see how to do that with guiOpenView.

My code goes like:

myedit <- function(...)
{
.....
code to create dataframe
.....
assign(x,"dataframe",where=1)
guiOpenView("data.frame",Name="x")
......
process *modified* dataframe
......
return
}

Any clues?

Thanks in anticipation.

-------------------------------------------------------
David Butler
Qld Dept of Primary Industries
PO Box 102 Ph: (07) 46881210
Toowoomba Qld 4350 Fx: (07) 46881199
Australia butlerd@dpi.qld.gov.au
-------------------------------------------------------

-----------------------------------------------------------------------
This message was distributed by s-news@wubios.wustl.edu. To unsubscribe
send e-mail to s-news-request@wubios.wustl.edu with the BODY of the
message: unsubscribe s-news