Displaying 6 results from an estimated 6 matches for "statconnectorclass".
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: 0x80040013"
Source="Interop.STATCONNECTORSRVLib"
ErrorCode=-21472214...
2008 Oct 23
0
RODBC and RDCOM
...mulaLevels)
[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 Formula from
OGA_DEV...
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 Mar 25
0
R Query
...pplication 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
at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp,
Object o, Object t, EventArgs...
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)
...t. 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 version deleted]]