[R-gui] tcltk MDI
John Fox
jfox at mcmaster.ca
Wed Jul 14 00:08:00 CEST 2004
Dear Peng Liu,
It's true that the standard widget set for Tcl/Tk is limited. I
intentionally restricted myself to these widgets since they are all that's
available with the standard installation of R under Windows. To get a
broader set of widgets, you can install ActiveTcl for Windows.
With respect to making an MDI application using Tcl/Tk, if that's possible,
I don't know how to do it.
Regards,
John
> -----Original Message-----
> From: r-sig-gui-bounces at stat.math.ethz.ch
> [mailto:r-sig-gui-bounces at stat.math.ethz.ch] On Behalf Of Peng Liu
> Sent: Tuesday, July 13, 2004 3:31 PM
> To: r-sig-gui at stat.math.ethz.ch
> Subject: RE: [R-gui] tcltk MDI
>
> Dear John,
>
> Your Rcmdr gives me a good framework of R GUI. Those over 10
> libraries on which Rcmdr depends represent a good packing of
> existing R functions.
>
> I am sorry that I did not clarify what MDI I mean. I did not
> expect to open an Tcltk sub-window within current R MDI GUI.
> Probably, that needs to recompile GraphApp. What I hope to
> have is, for example, Rcmdr itself can be a MDI environment.
>
> Since I am absolutely a newbie to Tcl, I am not available to
> figure it out now. So I tried to find some existing example
> to start with. The ActiveTcl does not have such an example.
> But I found one named mkWidgets, written by Michael Kraus.
> You may find the sourceforge page at:
> http://mkextensions.sourceforge.net/
> Unfortunately, I have no idea about how to use that one
> through r-tcltk.
>
> I just began to have interest on R GUI several days ago.
> After these days, I choose to begin with R-Tcl/Tk. Because it
> might the most rapid way to turn R into something like S+ or
> JMP. Moreover,
> 1) Programming based on GraphApp seems to not portable.
> 2) Using wxWindows through Python does not seem efficient to
> me. Anyway, I
> did not run any benchmarking. And wrapping wxWidget via
> Connect method
> needs solid C++ experience to write a S language parser.
> 3) I was not available to compile RGTk on Windows.
> Therefore, currently, in order to rapidly make R have an S+
> or JMP like GUI, R-Tcl/Tk is the best choice. However,
> current R-Tcl/Tk examples given by Peter and James are all in
> dialog-window-style. Therefore, I am looking for some widgets
> like mkWidgets, and wish to know how to use it through r-tcl/tk.
>
> Cheers,
> Peng
>
> On Tue, 13 Jul 2004, John Fox wrote:
>
> > Dear Peng,
> >
> > There is a problem with Tk windows staying on top of the MDI. For a
> > GUI based on the tcltk package, you might want to take a
> look at the
> > Rcmdr package.
> >
> > Regards,
> > John
> >
> > > -----Original Message-----
> > > From: r-sig-gui-bounces at stat.math.ethz.ch
> > > [mailto:r-sig-gui-bounces at stat.math.ethz.ch] On Behalf Of Peng Liu
> > > Sent: Tuesday, July 13, 2004 1:03 PM
> > > To: r-sig-gui at stat.math.ethz.ch
> > > Subject: [R-gui] tcltk MDI
> > >
> > > Dear R tcltk Designers,
> > >
> > > I am wondering whether there is a MDI (Multiple Document
> > > Interface) example of using r-tcltk on Windows platform. I just
> > > begin to use r-tcl/tk. I feel that MDI would be more familiar to
> > > Windows users.
> > > It would be great to begin with a MDI example and work
> out a R-GUI
> > > similar to S+ or JMP.
> > >
> >
> >
>
> _______________________________________________
> R-SIG-GUI mailing list
> R-SIG-GUI at stat.math.ethz.ch
> https://www.stat.math.ethz.ch/mailman/listinfo/r-sig-gui
More information about the R-SIG-GUI
mailing list