Posted on: 7/8/2015 4:06:49 PM | Views : 1397

Hi All,
I am working on a web application in which I need to execute a r programming script from my web page using a button click. The r script file is stored in the applications folder under folder name R Script. 
I am using RDotNet to integrate R and my web application.
Below is my default.aspx.cs 
using RDotNet; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; public partial class _Default : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { } private static double EvaluateExpression(REngine engine, string expression) { var expressionVector = engine.CreateCharacterVector(new[] { expression }); engine.SetSymbol("expr", expressionVector); // WRONG -- Need to parse to expression before evaluation ...

Go to the complete details ...