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

From: Rolf Turner <r.turner_at_auckland.ac.nz>
Date: Tue, 15 Jul 2008 08:28:11 +1200

On 15/07/2008, at 4:07 AM, R P Herrold wrote:

> 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$
>
>
> see:
> http://www.herrold.com/wish-OSX.grab.png

Yeah, well I see that it works for you --- but it doesn't work for me! I.e. my original script doesn't work, but Peter D.'s modification does work.

Dang! Why are ``they'' always picking on me? :-)

        cheers,

                Rolf Turner

######################################################################
Attention:\ This e-mail message is privileged and confid...{{dropped:9}}

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 - 20:30:37 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 Tue 15 Jul 2008 - 23:32:03 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