Reload `filebacked.big.matrix` with R session crash -



Reload `filebacked.big.matrix` with R session crash -

thanks reading post!

here have problem using big.matrix in r.with code below:

big_matrix_object=as.big.matrix(matrix_object,backingfile='back.bin',descriptorfile='back.desc,backingpath='./path/)

if save big_matrix_object .rdata.and next time when reload r session encounter crash.how can avoid that?appreciate help!

your big_matrix_object in r pointer backing file stored on disk; must re-attached file each time after restarting r session, if previous session's .rdata file has been loaded. fortunately easy fix—after restarting r , reloading bigmemory package, run:

big_matrix_object <- attach.big.matrix("./path/back.desc")

this of course of study presumes big.matrix object, , associated backing file, created , saved in prior session.

cheers!

r matrix r-bigmemory

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -