[R] R as COM client (rather than server)
Erich Neuwirth
erich.neuwirth at univie.ac.at
Mon Jun 30 15:19:08 CEST 2003
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 at novonordisk.com <mailto:DEd at novonordisk.com>
> Tlf: +45 44 42 62 35. Fax: +45 44 42 14 80
>
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
>
More information about the R-help
mailing list