[R] Off topic: Tcl/Tk outside R.
Rolf Turner
r.turner at auckland.ac.nz
Mon Jul 14 21:49:01 CEST 2008
On 14/07/2008, at 7:15 PM, Peter Dalgaard wrote:
<snip>
> Odd... That _does_ actually work for me, so I guess the issue is
> Mac-specific. One thought:
> Tcl is like R; a core language where you load packages in order to
> do any real work and wish is just Tcl with the Tk package
> preloaded. I.e., the following also works for me
>
> $ cat rolf.wish
> #!/usr/bin/tclsh
> package require Tk
> button .b -text "Press Me" -command exit
> pack .b
***That*** does indeed work! Thanks. But it's still mysterious,
isn't it?
The invocation ``#!/usr/bin/tclsh'' is recognized but ``#!/usr/bin/
wish'' seems
to be ignored. Both ``tclsh'' and ``wish'' are executables in /usr/bin.
(Actually they are both symbolic links to tclsh8.4 and wish8.4
respectively.)
Anyway --- I've got *something* working, and that is a Good Thing.
Thanks again.
cheers,
Rolf
######################################################################
Attention:\ This e-mail message is privileged and confid...{{dropped:9}}
More information about the R-help
mailing list