Peter Dalgaard BSA
p.dalgaard at biostat.ku.dk
Fri Apr 30 23:48:48 CEST 1999
"Terry J. Westley" <twestley at buffalo.veridian.com> writes:
> > From: owner-r-help at stat.math.ethz.ch
> > [mailto:owner-r-help at stat.math.ethz.ch]On Behalf Of Geldenhuys, Willie
> > Sent: Friday, April 30, 1999 5:45 AM
> > I am trying to use the Windows version of R to do the following:
> > - Have a Delphi front-end which gets the user input
> > - Delphi will produce a R script, do a system call to R to
> > calculate the statistics.
> 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.
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]
O__ ---- Peter Dalgaard Blegdamsvej 3
c/ /'_ --- Dept. of Biostatistics 2200 Cph. N
(*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907
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
More information about the R-help