Skip to content

R as a COM client - is it possible?

3 messages · Søren Højsgaard, Brian Ripley, Duncan Temple Lang

#
Dear all,

In S+, there are functions like

	create.ole.object
	call.ole.method
	release.ole.object

for communicating with other programs which work as a COM server (on
Windows).

Is it possible to do something similar in R (I've studied the 'connections'
facilities, but they do not seem to work).

==========================================
S?ren H?jsgaard,  PhD, Senior Scientist
Biometry Research Unit
Danish Institute of Agricultural Sciences
Research Centre Foulum, DK-8830 Tjele, Denmark
Phone: +45 8999 1703
E-mail : sorenh at agrsci.dk
Homepage : http://www.jbs.agrsci.dk/~sorenh/
#
On Mon, 9 Dec 2002, [iso-8859-1] Søren Højsgaard wrote:

            
They work!   But not to COM servers (a Windows-only concept).

There is a DCOM server for R on CRAN by Thomas Baier: I am not aware of a
COM/OLE client interface for R.  Perhaps some Windows user would like ot
contribute one.
#
S?ren H?jsgaard wrote:
There are currently two packages being developed that will provide
basic COM client facilities for R. Thomas Baier is developing one
which is pretty close to complete, as far as I understand, but he has
not released it yet.

And I and others here in Bell Labs are developing a package also
(along the lines of the Python win32com.client module, if that helps).
We will probably make an alpha version of our dynamic COM package
available in the next few weeks. The compiled bindings approach will
have to wait until sometime in January.  If you want to try the
current code, let me know and I can make it available.

 D.