Displaying 1 result from an estimated 1 matches for "m_graphdev".
2008 Sep 25
0
C++ & R: Displaying a lattice graphic using D Com
...FAILED(lConnector.CreateDispatch(_T("StatConnectorSrv.StatConnector"))))
{
MessageBox("Error creating StatConnectorSrv");
return;
}
lConnector.Init(_T("R"));
lConnector.SetCharacterOutputDevice(lCharDev);
lConnector.AddGraphicsDevice(_T("Gfx"),m_GraphDev.GetGFX());
lConnector.EvaluateNoReturn(_T("require(lattice)"));
lConnector.EvaluateNoReturn(_T("x <- seq(-pi, pi, len = 20)"));
lConnector.EvaluateNoReturn(_T("y <- seq(-pi, pi, len = 20)"));
lConnector.EvaluateNoReturn(_T("g <- expand.grid(x = x,...