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

Rolf Turner r.turner at auckland.ac.nz
Mon Jul 14 22:28:11 CEST 2008


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}}



More information about the R-help mailing list