我找不到任何函数或包来计算R 中的bigmatrix(from library(bigmemory))的零空间或(QR分解).例如:
library(bigmemory)
a <- big.matrix(1000000, 1000, type='double', init=0)
Run Code Online (Sandbox Code Playgroud)
我尝试了以下但是显示了错误.如何找到bigmemory对象的空白空间?
a.qr <- Matrix::qr(a)
# Error in as.vector(data) :
# no method for coercing this S4 class to a vector
q.null <- MASS::Null(a)
# Error in as.vector(data) :
# no method for coercing this S4 class to a vector
Run Code Online (Sandbox Code Playgroud)