r - Rsamtools error when loading packages -


when want load rsamtools package in r see error bellow :

  error in get(method, envir = home) :      lazy-load database'/library/frameworks/r.framework/versions/3.2/resources/library/rsamtools/      r/rsamtools.rdb' corrupt   in addition: warning messages:   1: in .registers3method(fin[i, 1], fin[i, 2], fin[i, 3], fin[i, 4],  :     restarting interrupted promise evaluation   2: in get(method, envir = home) :     restarting interrupted promise evaluation   3: in get(method, envir = home) : internal error -3 in r_decompress1   error: package or namespace load failed ‘rsamtools’ 

and output of sessioninfo :

  r version 3.2.0 (2015-04-16)   platform: x86_64-apple-darwin13.4.0 (64-bit)   running under: os x 10.9 (mavericks)    locale:   [1] en_us.utf-8/en_us.utf-8/en_us.utf-8/c/en_us.utf-8/en_us.utf-8    attached base packages:   [1] stats4    parallel  stats     graphics  grdevices utils     datasets        methods     [9] base         other attached packages:    [1] uniprot.ws_2.8.0     rcurl_1.95-4.6       bitops_1.0-6               rsqlite_1.0.0           [5] dbi_0.3.1            biocinstaller_1.18.2 biostrings_2.36.1    xvector_0.8.0           [9] annotationdbi_1.30.1 biobase_2.28.0       genomicranges_1.20.4       genomeinfodb_1.4.0     [13] iranges_2.2.3        s4vectors_0.6.0      biocgenerics_0.14.0     loaded via namespace (and not attached):   [1] zlibbioc_1.14.0 tools_3.2.0     biomart_2.24.0  xml_3.98-1.2    

not can't use rsamtools when want use old packages use them before error occures bellow example using "txdb.hsapiens.ucsc.hg19.knowngene" package :

  loading required package: genomicfeatures   error in get(method, envir = home) :      lazy-load database       '/library/frameworks/r.framework/versions/3.2/resources/library/rsamtools/r/rsamto      ols.rdb' corrupt   in addition: warning messages:   1: in .registers3method(fin[i, 1], fin[i, 2], fin[i, 3], fin[i, 4],  :     restarting interrupted promise evaluation   2: in get(method, envir = home) :     restarting interrupted promise evaluation   3: in get(method, envir = home) : internal error -3 in r_decompress1                          error: package ‘genomicfeatures’ not loaded 

what should do?

surprisingly!restarting session solved problem :|


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - Bypass Geo Redirect for specific directories -

php - .htaccess mod_rewrite for dynamic url which has domain names -