I save .npz
files from Python and wanna read it in R.
I tried using npyLoad
function but i get this error
library(RcppCNPy)
Data <- npyLoad("xx.npz")
Error in npyLoad("xx.npz") : header ended improperly
I think this happens because i saved my data from Python in Data
array but i can't specify this in npyLoad
.
So, is there away to read this compressed npy files in R. ?