Re: [R] Connect to Visual? and Bench Mark

Thomas Lumley (thomas@biostat.washington.edu)
Wed, 25 Nov 1998 15:00:12 -0800 (PST)

Date: Wed, 25 Nov 1998 15:00:12 -0800 (PST)
From: Thomas Lumley <thomas@biostat.washington.edu>
To: Douglas Bates <bates@stat.wisc.edu>
Subject: Re: [R] Connect to Visual? and Bench Mark
In-Reply-To: <6r3e775qzo.fsf@verdi.stat.wisc.edu>

On 25 Nov 1998, Douglas Bates wrote:

> >>>>> "Hoon" == "Yoon, Hoon (CICG <- NY Program Trading)" <HYoon@exchange.ml.com>> writes:
>
> Hoon> Is there any possible way to connect to VB, VC++, Delphi,
> Hoon> Python, etc... to R? I am trying to put some nice GUI using
> Hoon> something like VB and use R as a back end for computations. I
> Hoon> search through the FAQ and help archive, but could not find
> Hoon> any. I am willing to look at any tools on Sun/Solaris
> Hoon> environment as well (Like C or Python or Perl). If anyone can
> Hoon> share some examples, pls let me know. Thanks much in advance,
>

>
> Recently Thomas Lumley announced a sockets library for R. I'm not
> sure if that allows R to act as a server. Perhaps Thomas can comment.

Yes, you could use it that way. You can set up either server or client
sockets. It currently only passes strings over the connections, but you
can always use parse() then eval() to evaluate them.

You might also be able to replace the input and output code in
src/unix/system.c or the event loop in src/windows/wincons.c

-thomas

Thomas Lumley
Assistant Professor, Biostatistics
University of Washington, Seattle

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


This archive was generated by hypermail 1.02.