Matrices

Aug 1, 2014 at 11:47 AM
The C++ interface Rcpp is very popular for speeding up numerical R code. I'd like to check if the same is possible using F# and rCLR.

However, it says in the documentation:

"Matrices are currently supported from the CLR to R, but not yet the other way around."

Any chance that an R matrix (type float) can be converted to an Array2D in a future version of rCLR?

An R matrix is internally the same as a vector plus a dimensions attribute.

I look forward to the next release!
Coordinator
Aug 5, 2014 at 8:49 AM
Ongoing work on a branch expands on the types of 'natural' conversion possible. I think this will cover your need for matrices.