search for: statconnectorsrv

Displaying 11 results from an estimated 11 matches for "statconnectorsrv".

2003 Sep 10
2
Need your help-SOS
...rcomp(x) of R function using (D)COM server communicate with R in ASP, and encountering the error "Runtime error -2147221493(8004000b). Automation Error, Object is static, operation not allowed." Source code is shown as below: <% Set StatConn=Server.CreateObject("StatConnectorSrv.StatConnector") StatConn.Init ("R") Result=StatConn.Evaluate("x<-matrix(c(1,2,3,4,5,6,7,8,9),3)") Result=StatConn.Evaluate("y<-prcomp(x)") StatConn.Close %> I have another problem when displaying dimension variable &qu...
2003 Sep 12
1
help - "Object is static, operation not allowed" Error
...H.J. van der's post mentioned that have to load library My environment is shown as below: OS: Win2000 Server R version: 1.7.1 DCOM version: 1.2 Source code is shown as below: <% Set StatConn=Server.CreateObject("StatConnectorSrv.StatConnector") StatConn.Init ("R") StatConn.EvaluateNoReturn("x<-matrix(c(1,2,3,4,5,6,7,8,9),3)") StatConn.EvaluateNoReturn("library (mva)") Result=StatConn.Evaluate("y<-prcomp(x)") StatConn.Close %> I...
2003 Oct 02
0
trouble with R com and python
...---------------------- Python 2.2.2 (#37, Oct 14 2002, 17:02:34) [MSC 32 bit (Intel)] on win32 Type "copyright", "credits" or "license" for more information. IDLE 0.8 -- press F1 for help >>> from win32com.client import Dispatch >>> sc=Dispatch("StatConnectorSrv.StatConnector") >>> sc.Init("R") >>> res = sc.Evaluate("2+2") >>> res 4.0 >>> res = sc.Evaluate("library(modreg)") >>> sc.Evaluate("library(modreg)") (u'methods', u'ctest', u'mva', u...
2008 Sep 25
0
C++ & R: Displaying a lattice graphic using D Com
...Dispatch* lCharDev = NULL; IDispatch* lGfxDev = NULL; if(FAILED(m_CharDev.GetControlUnknown()->QueryInterface(IID_IDispatch,(LPVOI D*) &lCharDev))) { MessageBox("Error querying Dispatch from Character 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(&qu...
2000 Sep 28
1
creating custom I/O for R
Dear R developers, I am building an ActiveX Com wrapper for R. I have successfully implemented an Evaluate function using rproxy_impl.c and rtest.c as examples. The Com object as it stands at the moment is similar to Thomas Baier's automation server StatConnectorSrv.exe except that it does not use the Proxy. My goal it to include a couple of activeX controls in the library: One to provide a terminal-like interface to R and the other to provide a window for graphics output. These two activeX components will serve the exact functions as the corresponding compon...
2001 Aug 12
1
R (D)COM automation server for windows, type mismatch?
...StatConnectorCharacterDevice: Clear() WriteString(bstrLine As String) WriteStringLevel(bstrLine As String, lLevel As Long) StatConnectorGraphicsDevice: BackColor As OLE_COLOR ... * GetGFX() As ISGFX --------------------------------------------------------------- Library STATCONNECTORSRVLib ...\rw1030\bin\StatConnectorSrv.exe ISGFX: ... IStatConnectorCharacterDevice: Clear() WriteString(bstrLine As String) WriteStringLevel(bstrLine As String, lLevel As Long) IStatConnectorUIAgent: ... StatConnector: Init(bstrConnectorName As String) * AddGraphicsDevice...
2004 Jun 24
0
Catching R's (D)COM output in perl
...the Win32::OLE module and R's (D)COM server. This works fine, if i send commands and/or simple data structures to R. I am also able to get matrix-shaped return values into my Perl program, like this # snip ---------------------------------------------------- my $R = Win32::OLE->new('StatConnectorSrv.StatConnector'); $R->Init('R'); my $matrix = $R->Evaluate('matrix(c(1,"a",2,"b",3,"c"),2,3)'); # ---------------------------------------------------- snap What i did not achieve is to catch ALL the output from R which goes normally to the co...
2005 Jun 07
0
Error calling "read.table" from Python
...n to manipulate some data. When I try to use "read.table" function to read some data, an error occurred. However these statements work well when they are input to R directly. It is so odd. The Python scripts are as the following, from win32com.client import Dispatch sc=Dispatch("StatConnectorSrv.StatConnector") sc.Init("R") sc.SetSymbol("dir","D:/wangwm/work/LeafAngle/Py") sc.Evaluate("setwd(dir)") sc.SetSymbol("file","FIFE7184.LAD") #print(sc.Evaluate("file")) sc.SetSymbol("sep",'","') p...
2010 Nov 09
0
Problem on installing statconnDCOM and RBloomberg
...Files statconn\DCOM Ready to Install Destination location: C:\Program Files (x86)\statconn\DCOM Setup type: Custom Installation Selected components: Simple Server Test Files Start Menu folder: statconn\DCOM Unable to execute file: C:\Program File (x86)\statconn\DCOM\bin\StatConnectorSrv.exe CreateProcess failed; code 2. The system cannot find the file specified. -> OK Finally starting:- R: statconnDCOM - WindowsInternet Explorer C:\Program Files (x86)\statconn\DCOM\doc\00Index.html Index for statconnDCOM Please advise how to fix the above problem. TIA 3) Bloomberg instal...
1999 Oct 09
2
Re: R-0.65.1 for WinNT/9XRe: R-0.65.1 for WinNT/9X
Hello. I've dowloaded R-0.65.1 for WinNT/9X. >There is more support for (support of) ActiveX Automation via the >Rproxy.dll: see the file front-ends/readme. And where is this "the file front-ends/readme" which describes R's ActiveX Automation ? In "readme" under "r-install path\" and FAQ for Win port, no description about this. Please teach me.
1999 Oct 09
2
Re: R-0.65.1 for WinNT/9XRe: R-0.65.1 for WinNT/9X
Hello. I've dowloaded R-0.65.1 for WinNT/9X. >There is more support for (support of) ActiveX Automation via the >Rproxy.dll: see the file front-ends/readme. And where is this "the file front-ends/readme" which describes R's ActiveX Automation ? In "readme" under "r-install path\" and FAQ for Win port, no description about this. Please teach me.