Skip to content
Back to formatted view

Raw Message

Message-ID: <3F0038CC.3060707@univie.ac.at>
Date: 2003-06-30T13:19:08Z
From: Erich Neuwirth
Subject: R as COM client (rather than server)
In-Reply-To: <36A25802686476479FBE08B99D1C111C0F3C87@exdkba023.novo.dk>

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
>