An open API service indexing awesome lists of open source software.

https://github.com/rpy2/rpy2-matrix

Mapping of the R package Matrix for rpy2
https://github.com/rpy2/rpy2-matrix

python r rpy2 sparse-matrices

Last synced: 10 months ago
JSON representation

Mapping of the R package Matrix for rpy2

Awesome Lists containing this project

README

          

# Mapping the R package Matrix

![Python package](https://github.com/rpy2/rpy2-Matrix/workflows/Python%20package/badge.svg)
[![Build Status](https://travis-ci.com/rpy2/rpy2-Matrix.svg?branch=master)](https://travis-ci.com/rpy2/rpy2-Matrix)

This Python package is an extension to `rpy2` mapping the R package `Matrix`.

The R package is a rather complex hierarchy of classes, some of which are already mirrored (along with the hierarchy, as shown here):

![](inheritance.png)

To install from the Github repository:

```bash
pip install git+https://github.com/rpy2/rpy2-Matrix#egg=rpy2-Matrix
```

At the time of writing, documentation is only in docstrings, and as examples in the [unit tests](rpy2_Matrix/tests).