Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我将如何使用 rpy2 从 numpy 矩阵创建 R 矩阵?我已经尝试过robjects.r.matrix([the numpy matrix]),但它不适用于 np 矩阵(或数组)。
robjects.r.matrix([the numpy matrix])