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.

Text and Graphics Output<br />

� R (D)COM Server allows redirection of text and<br />

graphics output<br />

– Active X control for capturing text output available<br />

– Active X control for graphics output available<br />

– COM object for (programmatically) capturing text output<br />

available<br />

� additional functions in IStatConnector<br />

interface IStatConnector : IDispatch<br />

{<br />

...<br />

HRESULT AddGraphicsDevice([in] BSTR bstrName,<br />

[in] ISGFX* pDevice);<br />

HRESULT RemoveGraphicsDevice([in] BSTR bstrName);<br />

HRESULT SetCharacterOutputDevice([in]<br />

IStatConnectorCharacterDevice* pCharDevice);<br />

...<br />

}

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

Saved successfully!

Ooh no, something went wrong!