search for: addgraphicsdevice

Displaying 2 results from an estimated 2 matches for "addgraphicsdevice".

2001 Aug 12
1
R (D)COM automation server for windows, type mismatch?
...d are named 'Gfx1' (of type StatConnectorGraphicsDevice) and 'CharDev' (of type StatConnectorCharacterDevice) The code fragment working with them is: Dim x As StatConnector Dim gfxdev As ISGFX Set x = New StatConnector x.Init ("R") Set gfxdev = Gfx1.GetGFX x.AddGraphicsDevice "dev1", gfxdev ' <- this works x.SetCharacterOutputDevice CharDev ' <- this does not VBA stops with a type mismatch error. Unfortunately this is consistent with what I can see in the object browser tree: The method SetCharacterOutputDevice requires an IStatConnectorCh...
2008 Sep 25
0
C++ & R: Displaying a lattice graphic using D Com
...r Device"); return; } if(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(&...