All Questions
178 questions
1vote
0answers
80views
C# RDotNet Fails in DLL (WCF) Backend But Runs Fine on Front-End
I have the following simple code that runs fine in front-end. However, if I put the same code in a WCF DLL, then error occurs that reads: "SetCachedEnvironmentVariables requires R path and home ...
2votes
0answers
126views
r.net nuget package not updated since 2020
It seems that r.net has not been updated since 2020. Does anyone know of any plans to update this software? Is the current version, 1.9.0, compatible with VS2022 on Windows 10? If not is there ...
1vote
0answers
58views
How to suppress R.Net console output?
I have the following code that uses R.Net on Windows: engine = REngine.GetInstance(); engine.Initialize(); engine.Evaluate("library(tseries)"); Unfortunately it outputs some messages to the ...
0votes
2answers
482views
Loading rdotnet in C# console application fails with an unknown error on macOS
I have a very basic C# console application on macOS with the code pasted below. When I try to run this code, the call to REngine.GetInstance() fails with the following exception: Unhandled exception. ...
0votes
0answers
214views
R.Net 1.9.0 does not work with .Net 5 Core application
Below logic working fine with .Net Framework 4.7.1 and its not working with .Net 5 application. Application simply crashed without displaying any error message. Help me to run R.Net in .Net 5 ...
0votes
0answers
213views
Importing a .Rdata file in .NET
I'm quite novice with R and I don't quite understand a few simple things. I need to load an .Rdata file using C#.NET. I've installed the R.NET library and I've initialize the engine without any issues....
0votes
1answer
597views
Error on installing the tidyverse and ggplot2 packages
I am seeing the following error when trying to install the tidyverse and ggplot2 R package Error in install.packages : cannot open file 'C:/Users/dell user/Documents/R/win-library/4.1/filebad038967c5e/...
0votes
1answer
184views
rDotNet CLRServer.exe not found
I am trying to access a C# dll within R using rDotNet. Note that I am not at all well versed in C# and Visual studio. In R, when I try to run the .cinit() function for the first time, I get: NOTE: ...
0votes
1answer
67views
Got Error 502 using R.NET on 64 bit azure
I want to integrate c# with R (V4.1.0) using r.net (v1.9.0.0) and I have 2 Azure Web Apps, one with 32 bit setting on Platform and the other one using 64 Bit. When I want to get instance with this ...
1vote
0answers
93views
Problem rendering R Plots output to png device in azure app service
I am working on migrating my on-premises asp.net app to azure app service. My app renders R plots as a PNG using R.net. I am packaging R software as a folder(not as installation) in my publish and ...
0votes
2answers
480views
R.NET works with x86 but not x64
I'm trying to build and run the Hello World sample at the tutorial page at R.NET. When I force the program to run in x86 mode, it seems to do OK. However, when I run in x64, it stops very early on ...
0votes
1answer
149views
RDotNet nullreference exception
The line REngine engine = REngine.GetInstance(null, true, rinit); exception with NullReference. Not sure what I am doing wrong. I even tried the commented out version of getting the engine and that ...
0votes
1answer
208views
How to print on RDotNet console
ar envPath = Environment.GetEnvironmentVariable("PATH"); var rBinPath = @"C:\R-4.0.2\bin\i386"; Environment.SetEnvironmentVariable("PATH", envPath ...
3votes
0answers
270views
rDotNet library warning in R 4.0.0
rDotNet library seems to have the following issue with R 4.0.0. Does someone know how to fix this? > library(rDotNet) attempting to build CLR server, one time setup Warning message: In fun(libname,...
0votes
1answer
2kviews
Hot to set R home directory in r.net on docker/Debian?
I try to use R.Net in an asp.net Razor App with docker support. The docker image is Debian 10, R is installed in the image under the standard path /usr/lib/R. When executing REngine....