Open krassowski opened 2 years ago
Sparse data array handling is not part of R's standard library. The Matrix
package does handle them though.
The most natural way to address this ticket seems to be:
rpy2-Matrix
What do you think? If the case I'd transfer this issue to the rpy2-Matrix
repository.
Sounds good.
I have updated the code to match the current latest release of the R package Matrix
. I'll let you try the viability of a converter.
Two notes:
Matrix
has a complex hierarchy of classes that this is trying to mostly mirror (see https://github.com/rpy2/rpy2-Matrix/blob/master/inheritance.png). I am quite unsure about how maintainable this is.
Is your feature request related to a problem? Please describe.
Describe the solution you'd like
Support for converting sparse data frames in rpy2. I know there is https://github.com/rpy2/rpy2-Matrix but it does not cover data frames (and is not published).
Describe alternatives you've considered Having another package handle this would not be nice for interactive usage.
Additional context None