We can also use py_to_r() to convert the CSC matrix backto Matrix::dgCMatrix representation that can then bemanipulated easily in R which is the same as the original sparse matrixthat we created earlier using Matrix::sparseMatrix():
We can also use py_to_r() to convert the CSC matrix backto Matrix::dgCMatrix representation that can then bemanipulated easily in R which is the same as the original sparse matrixthat we created earlier using Matrix::sparseMatrix():