search for: statconnectorsrvlib

Displaying 14 results from an estimated 14 matches for "statconnectorsrvlib".

2010 May 07
4
Use of R in C#
I have a C# program that requires the run of a logistic regression. I have downloaded the R 2.11 package, and have added the following references to my code: STATCONNECTORCLNTLib; StatConnectorCommonLib; STATCONNECTORSRVLib; In my code I have: StatConnector scs = new STATCONNECTORSRVLib.StatConnectorClass(); scs.Init("R"); The init step returns the below error which seems to indicate a connection failure. System.Runtime.InteropServices.COMException was unhandled Message="Exception from HRESULT: 0x8...
2005 Apr 18
2
UnauthorizedAccessException in R(D)COM
...thorizedAccessException when I call the web service, even I have assigned access and launch permission to everyone using DCOMCNFG.exe The sample code is shown as below, and the unauthorizedAccessException exception is occurred when myR.Init("R") is called. myR = New STATCONNECTORSRVLib.StatConnector myR.Init("R") Does anyone know this solution and please advide me? Your help is appreciated. With Best Regards, WeiQiang Li [[alternative HTML version deleted]]
2006 May 16
1
R(DCOM) / StatConnector and PHP
hi does anyone have knowledge on how to connected to StatConnector from PHP I have tried: new COM("STATCONNECTORSRVLib.StatConnector") or die("Unable to instantiate StatConnector"); with no succes regards soren
2009 Jan 07
1
problem with initialising R-Project through C#
Hi, i got a problem with initialising R-Project from C# in this i m sending what are all the code line I had been written and the error where i got sc1 = new STATCONNECTORSRVLib.StatConnector(); sc1.Init("R"); and error at SCN_E_INVALIDINTERPRETERVERSION -2147221487 0x80040011 can any one suggest how can i resolve it thanks & regards; kiran [[alternative HTML version deleted]]
2009 Mar 25
0
R Query
...I installed R 2.8.1 and R-(D)Com R scilab DCOM3.0-1B5.exe. I got an error when i run the web application at the line where R is initilized as "System.Runtime.InteropServices.COMException was unhandled by user code Message="Exception from HRESULT: 0x80040013" Source="Interop.STATCONNECTORSRVLib" ErrorCode=-2147221485 StackTrace: at STATCONNECTORSRVLib.StatConnectorClass.Init(String bstrConnectorName) at _Default.Page_Load(Object sender, EventArgs e) in c:\Documents and Settings\177803\My Documents\Visual Studio 2005\WebSites\WebSite4\Default.aspx.cs:line 40 a...
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(bs...
2008 Jun 19
2
Calling R functions into C# or C++
Hi R, I have a request... Can I call R functions/routines from C# or C++? If so, how do I do this? Do I need to have some knowledge on DLL to do this? Thanks a lot for your help, Shubha Shubha Karanth | Amba Research Ph +91 80 3980 8031 | Mob +91 94 4886 4510 Bangalore * Colombo * London * New York * San José * Singapore * www.ambaresearch.com This e-mail may contain
2008 Oct 23
0
RODBC and RDCOM
...ula) > typeof(formulaLevels) [1] "character" > formulaLevels[1] [1] "((-0.19*({EthanePropaneMolFracTotal}*100)^2)+(12.3*({EthanePropaneMolFracTotal}*100))-13)*0.8" These works well within RGui. Then I tried to use RDCOM to communicate with .net: StatConnector curve = new STATCONNECTORSRVLib.StatConnectorClass(); curve.Init("R"); curve.EvaluateNoReturn("library(RODBC)"); curve.EvaluateNoReturn("conn = odbcConnect("+@"""" + "SQL Server" +@"""" +")"); curve.EvaluateNoReturn(odbcSqlQuery);//Select F...
2009 Jan 06
0
hi i have a problem with implementing R-Project in C#
Hi, This is Kiran I tried to work on r-project through C#.Net While calling the r-project I got an error that *System.Runtime.InteropServices.COMException(0x80040013):Exception from HRESULT:0x80040013 at STATCONNECTORSRVLib.StatConnectorClass.Init(String bstrConnectorName) at IAG.RD.RcomWrapper.Rcom..ctor() at demo.DemoForm.RcomExecute()* Can any one suggest how can I salve this problem Thanks & regards; Kiran. [[alternative HTML version deleted]]
2009 Jan 07
0
problem with working on R-Project from C#
Hi, i got a problem with initialising R-Project from C# in this i m sending what are all the code line I had been written and the error where i got sc1 = new STATCONNECTORSRVLib.StatConnector(); sc1.Init("R"); and error at SCN_E_INVALIDINTERPRETERVERSION -2147221487 0x80040011 can any one suggest how can i resolve it thanks & regards; kiran [[alternative HTML version deleted]]
2010 Mar 18
1
r-help
hi I am doing a project in R language.I need help with creating a front end in R language. i created a dialog box with file menu n file consists of load ,save and quit options. But these options are not working.I try to load my data into r using these options but its not working.pls help. Your Mail works best with the New Yahoo Optimized IE8. Get it NOW!
2010 Mar 26
0
Please help Me(R Language)
...language with asp.net. while i am run below code. the graphics window open out side of my *.aspx *page(it is opened as a *pop up*window) .i need to open that window with in my . *aspx *page(without using( png,jpg etc...) & any of image formats.) code: StatConnector objStatConn = new STATCONNECTORSRVLib.StatConnectorClass(); objStatConn.Init("R"); objStatConn.Evaluate("x <- 5"); objStatConn.Evaluate("y <- 40"); objStatConn.EvaluateNoReturn("plot(x,y)"); -- Thanks & Regards M.Sadanandam [[alternative HTML versi...
2003 Sep 02
0
File in use error (PR#4047)
...s like an R bug. The Affy package when invoked will read a series of large (10Mb) text files from the working directory. These files contain information about a microarray experiment (CEL files). The instructions passed to R are as follows (VB .NET): ----- 'Make (D)COM connection Dim x As New STATCONNECTORSRVLib.StatConnector() 'Initialising R x.Init("R") x.EvaluateNoReturn("library(affy)") sPath = "c:\\temp\\" x.EvaluateNoReturn("setwd(" + Chr(34) + sPath + Chr(34) + ")") 'Reading files... x.EvaluateNoReturn("data <- ReadAffy()") ...
2005 Jan 19
4
how to call R in delphi?
Dear All: Now I am writing program in delphi , found it is very convenience to do anova, T-test, F-Test, etc in R , how to call R in delphi? Thsnks. Best Regards YiYao Jiang Product Division/ product Testing Department Semiconductor Manufacturing International Corporation ZhangJiang Road, PuDong New Area, Shanghai ZIP: 201203 Tel:86-21-5080-2000 Ext. 15173