New way to create REngine instance?

Jul 15, 2011 at 7:36 PM

Hi,

I needed to get around the same issue as these guys:

http://rdotnet.codeplex.com/discussions/262846

and 

http://rdotnet.codeplex.com/workitem/10

So I downloaded the lastest source drop. Now I am getting messages that REngine.CreateInstance has been obsoleted. What is the new way to instantiate the REngine?

 

Thanks, and keep up the good work!

-W

Jul 15, 2011 at 9:11 PM

OK, I have changed from:

args = Array[str](["-q"])

r = RDotNet.REngine.CreateInstance("RDotNet", args)

 

to:

r = RDoptNet.REngine.CreateInstance("RDotNet", output=RDotNet.REngine.OutputMode.Quiet)

 

(I am using IronPython - apologies to you C# folks)

R.NET seems happy now. Is there a way to specify the R_HOME and R_LIBS directories? 

-W

Jul 22, 2011 at 9:53 AM

Hi, I am new to R.net, and found it very userful for .net users to embed R in their programs. Could anyone tell me what are the differences between the quiet mode and the normal mode? I am a VB.net user. Please tell me how to set the quiet mode in vb.net? And I found it very slow to terminate the program in the debug mode in VB.net. What was wrong? Thank a lot!