[R] MacOS R and tcltk

Steve Cassidy steve.cassidy at mq.edu.au
Mon Sep 10 14:43:27 CEST 2001


On Monday 10 September 2001 20:06, Peter Dalgaard BSA wrote:
> Steve Cassidy <steve.cassidy at mq.edu.au> writes:
> > From what I can glean from the sources and bundled packages, the tcltk
> > package isn't built by default for the MacOS port of R.  Looking at the
> > code there doesn't seem to be any real reason not to do this except that
> > perhaps tcl/tk isn't available on the builders machine.  Is this the
> > case?
>
> Probably the real reason is that the people who did the tcltk package
> (i.e. mainly me with assistance from Brian Ripley on Windows) haven't
> understood the event loop integration issues on Mac well enough.

Thanks, I'll talk it over with Dan and perhaps some of the folk on 
comp.lang.tcl to see if there is a nice solution.  There's been some 
interesting stuff done recently on integrating the windows event loop with 
Tcl, it might be relevant here. 

> > I also wonder whether anyone has done anything about passing data between
> > tcl and R.
>
> It's fairly easy to get hold of the internal data structures in R and
> as far as I can see also to copy them to and from Tcl objects using
> Tcl_SetDoubleObject, Tcl_SetVar and friends. You'd need to read the R
> Extensions manual for the details.

We'll look at this too. Thanks for the pointers.

Steve
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list