[R-gui] Using tcltk language with R system
James Wettenhall
wettenhall at wehi.edu.au
Thu Nov 13 00:30:29 MET 2003
Marcos,
Do you really want to call R from Tcl? Which features of
the Tcl scripting language appeal to you? Or is it just easier
to find examples of Tk widgets written in Tcl?
I have put together some examples of creating widgets with the
tcltk package in R:
http://bioinf.wehi.edu.au/~wettenhall/RTclTkExamples/
If you want to call R functions from another language, have a
look in the R-admin document that comes with R, in particular,
see:
build R as a shared library
And the R-exts document may be useful as well, if you want to
see how to interface R functions with C code.
To allow Tcl/Tk to be called from R, Peter Dalgaard has done
some clever stuff in interfacing the two event loops. Would you
have to reinvent some of this if you call R from Tcl? I don't
know.
Regards,
James
On Wed, 12 Nov 2003 mcaj at tci.ufal.br wrote:
>
>
> Hello, Does anybody know how can i call a R function in a tcltk file? I made
> a tcltk file, but I need call functions in R. i.e: in R I can put .Tcl("tcltk
> statement"). There are a same command to call R in a tcltk file?
>
> I want to make a R Gui using tcltk language, do you recommend use a tcltk or
> a R pack tcltk and don't use tcltk language?
>
> Thanks for your attention.
>
>
> Marcos Cerqueira Júnior
> Alagoas University - Brazil
>
> -------------------------------------------------
> This mail sent through IMP: http://horde.org/imp/
>
> _______________________________________________
> R-SIG-GUI mailing list
> R-SIG-GUI at stat.math.ethz.ch
> https://www.stat.math.ethz.ch/mailman/listinfo/r-sig-gui
>
--
--------------------------------------------------------------------------
James Wettenhall Tel: (+61 3) 9345 2629
Division of Genetics and Bioinformatics Fax: (+61 3) 9347 0852
The Walter & Eliza Hall Institute E-mail: wettenhall at wehi.edu.au
of Medical Research, Mobile: (+61 / 0 ) 438 527 921
1G Royal Parade,
Parkville, Vic 3050, Australia
http://www.wehi.edu.au
More information about the R-SIG-GUI
mailing list