Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Text Output: StringLogDevice (1/2)<br />
� redirect R‘s text output in a variable<br />
– only works with R (D)COM Server (not with rcom)<br />
� coclass StringLogDevice<br />
– add a reference to “StatConnTools“<br />
– use a variable of type StringLogDevice or<br />
StatConnTools.StringLogDevice<br />
– create object using operator New<br />
– ProgID is (for use with CreateObject function)<br />
� bind object to IStatConnector object<br />
– call BindToServerOutput after Init<br />
– use the Text property to access R‘s output<br />
– R will append new text unless Text is cleared