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

______________________________________________
R-help@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.

Reply via email to