Re: [R] Calling a source file from R to C#

2014-03-15 Thread Duncan Murdoch
R 2.11.1 is really old, but that's not likely to be your problem. I'd guess that file n1.R doesn't contain what you think it contains. If you run the source() command from within R, does that work? Duncan Murdoch On 14-03-15 3:18 AM, Ashis Deb wrote: I had this code like :-- using System.

[R] Calling a source file from R to C#

2014-03-15 Thread Ashis Deb
I had this code like :-- using System.Text; using RDotNet; using RDotNet.NativeLibrary; using Stats; namespace ConsoleApplication1 { class Program { static void Main(string[] args) { string rhome = System.Environment.GetEnvironmentVariable("R_HOME");