Displaying 3 results from an estimated 3 matches for "statconnectorclntlib".
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 unhandle...
2001 Aug 12
1
R (D)COM automation server for windows, type mismatch?
...t I only have an can get a StatConnectorCharacterDevice. (Where as for
AddGraphicsDevice I can get an ISGFX by means of the function GetGFX)
Where is the mistake?
Any hints?
Thanks, Thilo.
---
>From the Object Browser:
---------------------------------------------------------------
Library STATCONNECTORCLNTLib
...\rw1030\bin\StatConnectorClnt.dll
ISGFX:
...
StatConnectorCharacterDevice:
Clear()
WriteString(bstrLine As String)
WriteStringLevel(bstrLine As String, lLevel As Long)
StatConnectorGraphicsDevice:
BackColor As OLE_COLOR
...
* GetGFX() As ISGFX
------------------...
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