Convert NumericVector to String

Aug 16, 2013 at 3:47 PM
Hi, all!
I can't convert NumericVector to string in C# in MSVS 2012, R 3.0.1 (x86) and R.NET 1.5.2.
var res =  engine.GetSymbol("zz2").AsNumeric();
var res1 = Convert.ToString(res);
What's the problem, who knows?
Aug 20, 2013 at 2:42 PM
Solved in next way:
                      var res=engine.Evaluate(@"res<-98").AsNumeric();
                      Console.WriteLine("res={0}", string.Join(", ", res));
I can't get how GetSymbol works, anyway. Doesn't it return a value of variable in R expression?