Hi
We have installed R engine 3.1.2 on IIS7 on windows 2008R2 32 bit.
When the page is executed in the website in IIS7, it generates "This Page can't be displayed". Many times it stops the application pool but not always.
When the page is executed in debug mode in visual studio without any breakpoint, it just closes the page.
When the page is executed in debug mode in visual studio in single stepping at REngine.GetInstance, it generates error "Function Evaluation timeout".
Any idea how to solve this issue.
bool is64Bit = Environment.Is64BitProcess;
string archFolder = is64Bit ? @"\x64" : @"\i386";
string rPath = @"C:\Program Files\R\R-3.1.2\bin" + archFolder;
string rHome = @"C:\Program Files\R\R-3.1.2";
REngine.SetEnvironmentVariables(rPath, rHome);
REngine engine = REngine.GetInstance();
Kartik Patel
Comments: There's a well known issue with running R under IIS via RDotNet. You'll ened to add the R bin\arch folder to your system PATH and reboot your machine. See the issue here: https://rdotnet.codeplex.com/workitem/117
We have installed R engine 3.1.2 on IIS7 on windows 2008R2 32 bit.
When the page is executed in the website in IIS7, it generates "This Page can't be displayed". Many times it stops the application pool but not always.
When the page is executed in debug mode in visual studio without any breakpoint, it just closes the page.
When the page is executed in debug mode in visual studio in single stepping at REngine.GetInstance, it generates error "Function Evaluation timeout".
Any idea how to solve this issue.
bool is64Bit = Environment.Is64BitProcess;
string archFolder = is64Bit ? @"\x64" : @"\i386";
string rPath = @"C:\Program Files\R\R-3.1.2\bin" + archFolder;
string rHome = @"C:\Program Files\R\R-3.1.2";
REngine.SetEnvironmentVariables(rPath, rHome);
REngine engine = REngine.GetInstance();
Kartik Patel
Comments: There's a well known issue with running R under IIS via RDotNet. You'll ened to add the R bin\arch folder to your system PATH and reboot your machine. See the issue here: https://rdotnet.codeplex.com/workitem/117