Click here to Skip to main content
15,902,938 members

Comments by Scottingham (Top 1 by date)

Scottingham 3-Aug-11 14:06pm View    
I should also add that this problem is due to the fact that a very large amount of very complex code written in R was converted to c#. R uses 1 based arrays.

Furthermore, attempting to do the following: int[] intVector1 = (int[])Array.CreateInstance(typeof(int), new int[] {10},new int[] {1}); leads to the error: "Unable to cast object of type 'System.Int32[*]' to type 'System.Int32[]'."