Quantcast
Channel: R.NET
Viewing all articles
Browse latest Browse all 1634

New Post: Package ‘stats’ in options was not found

$
0
0
Hi,

I'm trying to use R.NET and I get this message on the output of the program (it's a c# console program):

Error in inDL<x, as.logical<local>, as.logical<now>, …> :
unable to load shared object ‘C:/Program Files/R/R-3.0.0/library/stats/libs/i386/stats.dll’:
LoadLibrary failure: The specified module could not be found.

During startup – Warning message:
Package ‘stats’ in options<”defaultPackages”> was not found


I tried to add 'stats' library by :

engine.Evaluate("C:/Program Files/R/R-3.0.0/library");
engine.Evaluate(".libPaths(\"C:/Program Files/R/R-3.0.0/library\")");

but it didn't have any effect.

Currently I can successfully do simple evaluations like "x <- matrix(1:9,nrow=3)" or "print(x)" but I can't call any function from stats or attaching other libraries like MASS.


I'm using:
R 3.0.0
Visual Studio 2010
.NET framework 4.0
R.NET 1.5


Thank you for your help.

Viewing all articles
Browse latest Browse all 1634

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>