Very nice, thanks Dirk and Jeff
Well i think i will accept a RObject and if it's a DataFrame I convert
to Matrix and it continue working
I will benchmark the differences to understand it better.
---
Other two doubt and I think that's all:
1) If dataset is too big (size is bigger than ram) is
This is not a well-posed Rcpp question as
- matrix and data.frame are _fundamentally_ two different data types
- matrix being _one_ and only one storage type, or class, stored
as one vector with dimension attribute of size two for rows and cols;
this makes it _efficient_ and you will see a