18.12.2012 Views

Embedding R Tutorial

Embedding R Tutorial

Embedding R Tutorial

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Data Transfer: COM Objects<br />

� rcom is a COM client library for R, too<br />

– COM objects can be accessed from R<br />

– only dispinterfaces are available to rcom<br />

� COM objects can be transferred<br />

– rcom must be loaded in R<br />

– only a single object can be tranferred at one (no arrays)<br />

– use SetSymbol and GetSymbol for transfer of COM<br />

objects<br />

– the rcom function comThis() returns a handle to the<br />

active COM server in R

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!