If you want to use R.NET to access R via C# applications, you have to know the R.NET type system. Following you will find a list with the R types, R.NET types and the equivalent in the .NET framework.
R | R.NET | .NET Framework |
character vector | RDotNet.CharacterVector | System.String[] |
integer vector | RDotNet.IntegerVector | System.Int32[] |
real vector | RDotNet.NumericVector | System.Double[] |
complex vector | RDotNet.ComplexVector | System.Numerics.Complex[] |
raw vector | RDotNet.RawVector | System.Byte[] |
logical vector | RDotNet.LogicalVector | System.Boolean[] |
character matrix | RDotNet.CharacterMatrix | System.String[, ] |
integer matrix | RDotNet.IntegerMatrix | System.Int32[, ] |
real matrix | RDotNet.NumericMatrix | System.Double[, ] |
complex matrix | RDotNet.ComplexMatrix | System.Numerics.Complex[, ] |
raw matrix | RDotNet.RawMatrix | System.Byte[, ] |
logical matrix | RDotNet.LogicalMatrix | System.Boolean[, ] |
list | RDotNet.GenericVector | |
data frame | RDotNet.GenericVector | |
data frame | RDotNet.DataFrame | |
function | RDotNet.Function | |
factor | RDotNet.Factor | System.Int32[] |
S4 | RDotNet.S4Object | System.String[] |