Basic R operation for Scidb Array


#1

Hi!

I try to run basic svd algorithm, which was done with old package ( video: https://www.youtube.com/watch?v=fzj1-cUgtOI ).
But I keep getting an error:

library(scidb)
cur=scidbconnect()
somedata=scidb(cur, “myScidbArray”)
F=svd(somedata,nu=2,nv=2)

error in as.vector(data)
no method for coercing this S4 to a vector.
Or similar errors.
Since 2015 it seems completely changed.
Can somebody help me?