Like yesterday, have you heard of R?
R is a free software programming language and software environment for statistical computing and graphics. The R language is widely used among statisticians and data miners for developing statistical software[2][3] and data analysis.[3] Polls and surveys of data miners are showing R’s popularity has increased substantially in recent years.
Check √ (we hope)
We use it with Tcl/Tk today in showing you a plotting job using the Tk GUI’s canvas widget.
R is a programming language growing in popularity, and unlike D following C in historical context, R follows S in historical context … go figure!
In this primer tutorial you can see Tcl/Tk being used by R to display a flight path plan via a tkcanvas, featuring interactive input.
Useful tutorials helping with this tutorial, for which we give much thanks, were
- Tk Docs – Tk Tutorial – Canvas
- r – Get data out of a tcltk function – Stack Overflow
- R (programming language) – Wikipedia (source of quote above)
Link to R programming source code you could rename to interactive_canvas.r
If this was interesting you may be interested in this too.
4 Responses to R Tcl/Tk Canvas Primer Tutorial