With this code:
```
var numlist = engine.Evaluate("c(1.5, 2.5)").AsList();
Console.WriteLine(numlist);
Console.WriteLine(numlist[1]);
```
I get an access violation when attempting to retrieve item 1. (I get NullReferenceException when retrieving item 0).
Comments: Fixed on 'my' branch. AsList uses R's as.list function to be sure the behavior is the same. THere may be a performance penalty, but this is unlikely to be of practical importance.
```
var numlist = engine.Evaluate("c(1.5, 2.5)").AsList();
Console.WriteLine(numlist);
Console.WriteLine(numlist[1]);
```
I get an access violation when attempting to retrieve item 1. (I get NullReferenceException when retrieving item 0).
Comments: Fixed on 'my' branch. AsList uses R's as.list function to be sure the behavior is the same. THere may be a performance penalty, but this is unlikely to be of practical importance.