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.

Custom and dispinterface<br />

� custom interface<br />

– similar to class interface in C++<br />

– fast<br />

– allows all IDL data types<br />

– cannot be accessed by scripting languages (e.g. VBScript, Perl,<br />

Python)<br />

– type-safe<br />

� dispinterface<br />

– indirect function call (by “name“)<br />

– dynamic resolution of function address at runtime<br />

– slower<br />

– only a subset of types allowed<br />

– can be accessed by scripting languages and rcom (COM<br />

client in R)<br />

� IStatConnector provides both

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

Saved successfully!

Ooh no, something went wrong!