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

Closed Issue: R.Net in Asp.net [15]

$
0
0
Hi,
R.Net help me a lot. I recently use it to construct a website with ASP.net.
Also, when i run the task twice, i found that only package 'base' is loaded, the other packages is not. In the first, it seems ok.

engine.EagerEvaluate("x<-search()");
engine.EagerEvaluate("x<-paste(x, collapse=',')");
CharacterVector x = engine.GetSymbol("x").AsCharacter();

".GlobalEnv,Autoloads,package:base"

I try to load a "RData file", I can not find any objects that are stored in the RData file, even in the first initialization.

string sPath = Page.Server.MapPath("App_Data/");
engine.EagerEvaluate("load(" + sPath + "BGmiRNAs.RData)");
engine.EagerEvaluate("y<-1:10");
engine.EagerEvaluate("x<-ls()");
engine.EagerEvaluate("x<-paste(x, collapse=',')");
CharacterVector x = engine.GetSymbol("x").AsCharacter();





Comments: Other, newer discussions and issues relate to ASP.NET. This post also seems to suggest that the engine was initialised twice in the same process

Viewing all articles
Browse latest Browse all 1634

Trending Articles



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