Hi Sebastien,
Do you have past experience with Java, particularly Java Swing? If
yes, I'd go with Java, if no, I'd go with the R's tcltk package. A
somewhat different route you can take is plug what you are doing into
John Fox's Rcmdr package
(<http://socserv.mcmaster.ca/jfox/Misc/>http://socserv.mcmaster.ca/jfox/Misc/
Rcmdr), that is based on the tcltk package, or John Verzani's pmg
(<http://www.math.csi.cuny.edu/pmg>http://www.math.csi.cuny.edu/pmg),
which is based on the GTK2 GUI
toolkit with R bindings provided by the RGTK2 package. The plus of
going this route is you can take advantage of a number of "helper
functions" included in these frameworks which makes creating the
GUI's much easier (or so I have found to be the case with Rcmdr).
A word of warning, you are likely to get a nasty comment or two that
the R-GUI list was the appropriate list for this, not R-Mac. In
addition, on the R-GUI list, a question like yours can prompt rounds
of quasi-religious arguments concerning the superiority of one GUI
toolkit over another. I've done a lot of GUI's (many of which are in
the Rcmdr package) with the tcltk package, and have been very happy
with the results.
Dan
On 23-Mar-06, at 7:03 PM, Sebastien Durand wrote:
> Dear all,
I am running R.2.2.1 on a mac 10.4.5
I have build a very large set of R functions that
I which to integrate in a GUI.
The trouble here is that I don't know what to use
and for what I have read Java seems to be
promising and highly flexible,
whereas Java seems to be more common and simple.
I must say that I have never used either of those
language and I might be very wrong in these two
first statements.
Let me first describe what I am planning to do
before I ask you some more questions.
I want to produce a GUI based on tabulations. On
the first tabulations, file preview will be
shown, plots will be made and many R function
parameters will be accesible to the user. Then
on the later tabs, more plots will be shown, and
even 3d maps. I am skipping some details of
course...
So now, here is my questions
Should I use Tcltk, Java or someother language.
Considering that I wish to have fun while I will
be doing this what should I use to make my
journey be more efficient, and pleasant.
Is there any good software that I should use to help me design my
GUI...
Finally if your are suggesting me tcltk, which
one shall I install tcltkaquaBi or x11 tcltk.
Please note that I would like to work on a GUI
that will not require constant maintaining (due
to updates), even so it might take a while to
construct.
Thanks in advance to all.
S?bastien
--
S?bastien Durand
Ma?trise en biologie
Universit? de Montr?al
(514) 343-6864
Universit? du Qu?bec ? Montr?al
(514) 987-3000 (1572#)