[R] Connect to Visual? and Bench Mark

Prof Brian D Ripley ripley at stats.ox.ac.uk
Thu Nov 26 08:23:15 CET 1998

On Wed, 25 Nov 1998, Thomas Lumley wrote:

> On 25 Nov 1998, Douglas Bates wrote:
> > >>>>> "Hoon" == "Yoon, Hoon (CICG <- NY Program Trading)" <HYoon at 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

If you want to do this on Windows, the latest version of Guido Masarotto's
R port has the R engine as a DLL and two specimen (but very useful) front
ends.  It looks very easy to mimic these to call into that DLL from any of
the Windows systems (VB, VC++, Delphi) you mention, although as this
development is so new, I doubt if anyone has tried it yet. You can of
course build a special-purpose version of that DLL with additional hooks if
you need it. (This is essentially a pre-packed version of Thomas'

Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

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 mailing list