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

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

From: DED (David George Edwards) (ded@novonordisk.com)
Date: Mon 30 Jun 2003 - 19:22:28 EST


Message-id: <36A25802686476479FBE08B99D1C111C0F3C87@exdkba023.novo.dk>

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


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