[R] Off topic: Tcl/Tk outside R.

From: R P Herrold <herrold_at_owlriver.com>
Date: Mon, 14 Jul 2008 12:07:25 -0400 (EDT)

On Mon, 14 Jul 2008, Peter Dalgaard wrote:

> Rolf Turner wrote:

>> Can anyone give me a hint as to why it doesn't work when the the executable
>> script is invoked directly (from tcsh)? Other than the fact that I'm
>> using a Mac :-) .
>> [Invoking unname -a gives ``Darwin TURNER-ROLF.local 8.11.1 Darwin Kernel
>> Version 8.11.1: Wed Oct 10 18:23:28 PDT 2007;
>> root:xnu-792.25.20~1/RELEASE_I386 i386 i386''.]

> ... possibly Mac-specific. One thought:

> $ cat rolf.wish
> #!/usr/bin/tclsh
> package require Tk
> button .b -text "Press Me" -command exit
> pack .b

No. This example script works fine here on OS/X 10.4 (ppc)

emac:~/Documents herrold$ uname -a
Darwin emac.first.lan 8.11.0 Darwin Kernel Version 8.11.0: Wed Oct 10 18:26:00 PDT 2007; root:xnu-792.24.17~1/RELEASE_PPC Power Macintosh powerpc
emac:~/Documents herrold$



ImageMagick 'import' on OS/X is giving me fits (I suspect because the background display is not X, but rather Apple's variant), so I used the Apple provided 'Grab' utility (which snapshots in TIFF format, copied it to a Linux box, and used ImageMagick's 'convert' to make the screenshot browser friendlier.

R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Mon 14 Jul 2008 - 16:29:27 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 14 Jul 2008 - 21:32:22 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive