My issue seems similar to this other, much older topic:
After I try to create a scidb matrix with R using the as.scidb() function, I run into an error:
A <- as.scidb(matrix(1,100,100))
Error in scidbquery(query, afl) :
SystemException in file: src/query/ops/reshape/PhysicalReshape.cpp function: execute line: 127
Error id: scidb::SCIDB_SE_OPERATOR::SCIDB_LE_UNSUPPORTED_INPUT_ARRAY
Error description: Operator error. Operator reshape does not support the given virtual input array. Consider splitting the query and using store() to create a temporary result.
Failed query id: 1102772833543
I’m not sure why a 100x100 matrix filled with one’s is unacceptable to scidb. I can, as with the previous topic poster, run this:
A <- as.scidb(iris)
I noticed that iris is a vector. When I create other vectors, they do work:
A <- as.scidb(vector(length=20))
So it seems like as.scidb will accept single-dimension vectors, but not arrays. The research I am helping with requires transferring 2-dimensional matrices to and from SciDB. The installation of SciDB that I’m working with should be recent as of a few weeks ago, so I’m not sure why this might be an issue. Does anyone have any ideas?