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.

Use of IStatConnector (2/2)<br />

� R (D)COM Server<br />

– R in “background“ (invisible)<br />

– every objects gets its own process (different symbol spaces)<br />

– R‘s text and character output may be “redirected“<br />

� rcom<br />

– R in “foreground“<br />

– user can use R in parallel to applications<br />

– every object accesses the same R process (shared symbol<br />

space)<br />

– text and character output in R window<br />

� late binding<br />

– both coclasses implement same COM interface<br />

– application can use both of them<br />

– different CLSID or progname on object creation

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

Saved successfully!

Ooh no, something went wrong!