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.

StatConnectorCharacterDevice<br />

� redirect R‘s text output in a window<br />

– only works with R (D)COM Server (not with rcom)<br />

� ActiveX control StatConnectorCharacterDevice<br />

– add components to the toolbox from “StatConnectorClnt 1.0<br />

Type Library<br />

� put a StatConnectorCharacterDevice on a form<br />

� tell the IStatConnector object to use the control<br />

– r.SetCharacterOutputDevice myDevice<br />

� all text output will be appended to the control<br />

� call the control‘s Clear function to clear the text box

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

Saved successfully!

Ooh no, something went wrong!