ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Thu, 18 Oct 2012 00:17:52 +0200How to convert sagemath matrix to R matrix?https://ask.sagemath.org/question/9442/how-to-convert-sagemath-matrix-to-r-matrix/I have a 5 x 30 matrix, G, created in sagemath. The type is
> type 'sage.matrix.matrix_generic_dense.Matrix_generic_dense'.
I want to convert this matrix to a R matrix to perform various manipulations using the R interface.
**How can I use sagemath matrix, G, to create a matrix in the R interface?**
I tried the following but to no avail.
> r.matrix(G)
> r.matrix(G,5,30)
b_ronThu, 18 Oct 2012 00:17:52 +0200https://ask.sagemath.org/question/9442/