[R] Some questions about R-(D)COM

Prof Brian Ripley ripley at stats.ox.ac.uk
Tue Jul 3 13:32:55 CEST 2001


On Tue, 3 Jul 2001 virgil at matheron.estadi.uv.es wrote:

> Hello Thomas,
>
>  I am writting to you because I have some questions about R-(D)COM. The
> first one is whether it can compiled using the MINGW C compiler, that
> is recomended by B. Ripley to compile R under Windows.

Um. rproxy.dll, the R side, *is* compiled under mingw.  It's not clear to
me why one would want to compile the StatConnector under mingw, but Thomas
said he thought it may be possible.  One issue is the quality of
mingw headers.  As Thomas (and I) have VC++6.0, it has not been an issue.

> The other questions are:
>
> - How can I open/close connections directly from C/C++?

Yes, because R itself does from C code.  It's not set up to be easy,
though, and the low-level interface in connections.c is mainly not exposed
(static routines).  But you can call do_url, do_open, do_close and so on
from your own C code.

> - Do you know about a free Visual Basic compiler?

No. There are learning editions free with various books, but they
have limited compilation facilities.  The Learning Edition sold here
is definitely able to work with R-(D)COM, as my wife uses that one.

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