[R] R as COM client (rather than server)
Duncan Temple Lang
duncan at research.bell-labs.com
Mon Jun 30 15:57:49 CEST 2003
There is also the Omegahat collection of packages for DCOM
which supports R as a client, user-definable server objects and event handlers.
Together, RDCOMClient and RDCOMServer (and the SWinRegistry and SWinTypeLibs packages)
provide a general way to handle arbitrary data types in R and COM.
There is a description of how this differs from the S-Plus approach and Thomas' rdcom package.
See http://www.omegahat.org/RDCOMClient
Erich Neuwirth wrote:
> 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
> >
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
--
_______________________________________________________________
Duncan Temple Lang duncan at research.bell-labs.com
Bell Labs, Lucent Technologies office: (908)582-3217
700 Mountain Avenue, Room 2C-259 fax: (908)582-3340
Murray Hill, NJ 07974-2070
http://cm.bell-labs.com/stat/duncan
More information about the R-help
mailing list