2

How would I go about creating an R matrix from a numpy matrix using rpy2? I've tried robjects.r.matrix([the numpy matrix]) but it doesn't work with a np matrix (or array).

dave
  • 12,406
  • 10
  • 42
  • 59
  • 2
    I think this question addresses yours: http://stackoverflow.com/questions/2447454/converting-python-objects-for-rpy2 – Seth Jun 04 '12 at 01:06

0 Answers0