18.12.2012 Views

Embedding R Tutorial

Embedding R Tutorial

Embedding R Tutorial

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Data Transfer: COM Objects<br />

� rcom is DCOM client and server for R<br />

� allows to access COM objects from R<br />

� only makes use of dispinterfaces<br />

� single objects (IDispatch) can be sent to R<br />

and back<br />

� transferring array of objects at once is not<br />

supported<br />

� objects are reference-counted in R<br />

� the R garbage collector will release (NULL)<br />

references<br />

– can be triggered explicitly using gc()

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

Saved successfully!

Ooh no, something went wrong!