Skip to content

Graphs

2 messages · Terry J. Westley, Peter Dalgaard

#
I plan to do something similar.  I will use Tcl/Tk as a user interface
front-end to R.  The program will interact with the user via a Tk user
interface and send the appropriate R commands to R using expect.

Unfortunately, expect runs only on Unix and WinNT, as far as I know.
My platform is Sparc/Solaris.
This wouldn't happen using expect because there would be two processes:
the Tcl/Tk/expect user interface program and a separate R process.

--
Terry J. Westley, Principal Engineer
Veridian Engineering, Calspan Operations
twestley at buffalo.veridian.com   http://www.veridian.com/
-------------------------------------------------------
Author of TASH, an Ada binding to Tcl/Tk.
Visit the TASH web site at http://tash.calspan.com.
-------------------------------------------------------

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
"Terry J. Westley" <twestley at buffalo.veridian.com> writes:
Er, in what sense is Solaris not a Unix variant??? Or did you refer to
Geldenhuys being on W95?

Anyways, Guido Masarotto has a nice little "proof of concept" thing on
how to set things up so that you can call R commands directly from
Tcl/Tk code. You may want to check it out. 

[There's a silly bug (in glibc) preventing it from working
on Linux machines (at least RedHat5.2) if you use localization
features (LC_CTYPE & friends), but that's probably getting cleaned up
in the near future with glibc 2.1, and perhaps portability need not
concern you for now]