[R-SIG-Mac] tkrplot

James Wettenhall wettenhall at wehi.edu.au
Tue Sep 14 01:52:50 CEST 2004


Hi Jan,

On Mon, 13 Sep 2004, Jan de Leeuw wrote:
> a) You cannot build tkrplot with Aqua Tcl/Tk

Yes.  That was a big mistake, not noticing that
R CMD build --binary was using Aqua Tcl/Tk instead of X11
Tcl/Tk - oops!  Although I thought that machine had X11 Tcl/Tk
in /usr/local/ so I still don't completely understand why it
chose Aqua Tcl/Tk.

> b) The X11 version must be build manually by linking
> tktrplot.so to a dylib, and then modifying the R tkrplot
> so it load a dylib (and not a bundle). Then it works fine.

Thanks for that.  Luke Tierney has also explained this to me.

> I think there is one in my X11 distribution  on
> gifi.stat.ucla.edu.

OK, that's good to know.  Thanks.

BTW, I have found it to be quite easy to modify my R-Tcl/Tk
package to allow using the regular R graphics device as
an alternative to tkrplot, so whatever happens with tkrplot
installation, we'll be OK for our microarray workshop on
Thursdsay.  Whilst I do have a few Tcl/Tk-specific interactive
plot features and menus, the main reason for using tkrplot was
for Windows users running R in MDI (Multiple Document Interface)
mode, who like to minimise the MDI frame so it doesn't steal the
focus from Tcl/Tk windows, but then the plots are lost in the
minimised MDI frame.

Anyway, thanks very much to Jan and Luke for some great tips!

Best regards,
James



More information about the R-SIG-Mac mailing list