Re: [R] R as COM client (rather than server)

About this list Date view Thread view Subject view Author view Attachment view

From: Erich Neuwirth (erich.neuwirth@univie.ac.at)
Date: Mon 30 Jun 2003 - 23:19:08 EST


Message-id: <3F0038CC.3060707@univie.ac.at>

It can be done.
But it is still in development and therefore not on CRAN.
There is a library rcom which does exactly what you are asking for.

http://sunsite.univie.ac.at/rcom/

always has the latest version of the R COM package,
currently including the package for R as a client also.

There is a special mailing list for questions
related to R and (D)COM
you can subscribe to it at

http://mailman.csd.univie.ac.at/mailman/listinfo/rcom-l

DED (David George Edwards) wrote:
> Hello all
>
> Can R be used as a COM client (rather than as a COM server)? The following
> (Splus) code shows the sort of thing I'd like to do:
>
> pMIM <- create.ole.object("mim31.Server")
> NoOutputLines <- call.ole.method(pMIM, "SendCmdLine", "show w")
> for (i in 1:NoOutputLines) show(call.ole.method(pMIM,
> "GetOutputLine"))
> release.ole.object(pMIM)
> I've tried to look at the RDCOM documentation but could not figure out
> whether this can be done.
> Regards
> David
>
> David Edwards, Biostatistics,
> Novo Nordisk A/S, Bagsværd, Denmark.
> DEd@novonordisk.com <mailto:DEd@novonordisk.com>
> Tlf: +45 44 42 62 35. Fax: +45 44 42 14 80
>
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help@stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
>

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help


About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.3 : Tue 01 Jul 2003 - 09:12:09 EST