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.

R calls C# (2/5)<br />

� use rcom for access to the object<br />

– comCreateObject() to create an object<br />

– comGetObject() to access an existing object<br />

– comInvoke() to call (invoke) a function<br />

– comSetProperty() to set a property<br />

– comGetProperty() to get a property‘s value<br />

– comThis() to get a handle to the “current“ COM server<br />

– comGetObjectInfo() return some method and property<br />

information about the object<br />

– comIsValidHandle() check if an object is valid<br />

– comGetVersion() return rcom major and minor version

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

Saved successfully!

Ooh no, something went wrong!