New Post: How to return result from Rscript after execute code in R.NET
A code sample to get started from is:var npkscript = @" op <- options(contrasts = c('contr.helmert', 'contr.poly')) npk.aov <- aov(yield ~ block + N*P*K, npk) npk.sum <- summary(npk.aov) ";...
View ArticleCreated Unassigned: "uniroot" function not found error [183]
Hello,I am using RDotNet v1.6.5.0 on 64-bit windows. I am using some "thetaEst" function from "catR" package which uses "uniroot" (from stats package -it is a default package) function...
View ArticleNew Post: R in WCF and return large set of Data
Hello, I have an issue with my R.NET use in WCF services. Scenario:Application client send data to WCF service WCF : a-convert data to DataFrame b-call R script (result as DataFrame) c-convert...
View ArticleNew Post: R in WCF and return large set of Data
There is no obvious cause that I can see. A couple of suggestions you may consider to further diagnose the problem:Is running functionally the same code in a single process (no WCF, no IIS) reproducing...
View ArticleNew Post: R in WCF and return large set of Data
Thank you for your feedback. Yesterday, we have tested in Console App, and it working normaly. So we test to use our WCF self hosted (in console App). And the result was good. No crash, console app...
View ArticleNew Post: Call R script in UI thread crash the app
I am building an application which display a data table and allow user to define computed fields which the help of R functions. E.g., calculate the squreroot of one numeric field, and display the data...
View ArticleCreated Unassigned: An unhandled exception of type...
CODE :using RDotNet;...REngine.SetEnvironmentVariables();REngine engine = REngine.GetInstance();ISSUE : header +"Additional information: The single REngine instance has already been disposed of (i.e....
View ArticleEdited Unassigned: An unhandled exception of type...
CODE :using RDotNet;...REngine.SetEnvironmentVariables();REngine engine = REngine.GetInstance();ISSUE : header +"Additional information: The single REngine instance has already been disposed of (i.e....
View ArticleEdited Unassigned: An unhandled exception of type...
CODE :using RDotNet;...REngine.SetEnvironmentVariables();REngine engine = REngine.GetInstance();ISSUE : header +"Additional information: The single REngine instance has already been disposed of (i.e....
View ArticleNew Post: Could Not Find Function "sd" Error in C#
I Develop a Simple program using RDotNet in C#. I got "sd" function not found error. Can you give me some tips for solve this problem? function "sd" is in "stats" package that is default library. I...
View ArticleNew Post: Could Not Find Function "sd" Error in C#
you need to let the engine know you are intending to use the stats library. add : rengine.Evaluate("library(stats)"); prior to STDResult.
View ArticleNew Post: How can i load a package like forecast?
not sure exactly where your code is throwing the error. But typically when i'm not sure if a package is installed or not I use the following check. rengine.Evaluate("if("fastcluster" %in%...
View ArticleNew Post: Better way to capture plot image from R engine
I am attempting to capture the image from the console window using the following: engine.Evaluate(string.Format("dev.copy(jpeg,'{0}')", rfilename)); the file is successfully saved. But I'd like to...
View ArticleCreated Unassigned: IIS 10 deploy Rdotnet Issue [185]
Hi All,I am facing deployment issues in IIS 10__Error in library(RODBC) : there is no package called 'RODBC' same with other packages also__.Anyhow this error automatically fixed on server but now...
View ArticleEdited Unassigned: IIS 10 deploy Rdotnet Issue [185]
Hi All,I am facing deployment issues in IIS 10__Error in library(RODBC) : there is no package called 'RODBC' same with other packages also__.Anyhow this error automatically fixed on server but now...
View ArticleNew Post: Please help a new users
Hello, I am trying to run a test program on my Windows 10 Enterprise (x64) machine. I copied the following example into a new Console project (Visual Studio 2015): using System; using System.Linq;...
View ArticleNew Post: Please help a new users
Charles, Did you install R on your machine also? RDotNet will not function w/o the R application being installed on your machine. If you haven't already downloaded it .. it's available from one of the...
View ArticleCreated Unassigned: Connecting to R from C# using RDotNet unsuccessful from...
I copied the example script (https://rdotnet.codeplex.com/) to a simple forms application, and it crashed on the REngine engine = REngine.GetInstance(); line giving the error message An unhandled...
View ArticleNew Post: RdotNet and R version 3.2.4
Has anyone else upgraded to R-3.2.4revised-win yet? I'm getting an error when trying to SetEnvironmentVariables REngine.SetEnvironmentVariables(); rCurrentVersionString from registry is coming back as...
View ArticleNew Post: RdotNet and R version 3.2.4
I've been struggling for a few hours trying to look for a solution, and feeling a bit happy when I finally found someone with the same problem :D What is the version of R that I should use for now...
View Article