problem in installing zlibbioc library
0
0
Entering edit mode
7.9 years ago

Hi all

I'm trying to install biostrings package. Its dependence is zlibbioc and I have problem with installing zlibbioc.

First I downloaded it from bioconductor.org and installed it with following code:

install.packages("~/R/source codes/BSgenome/zlibbioc_1.14.0.tar.gz", repos = NULL, type = "source")


​and I faced with the following problem:

Error in untar2(tarfile, files, list, exdir, restore_times) :
incomplete block on file
Warning in install.packages :
installation of package '/home/mansoor/R/source codes/BSgenome/zlibbioc_1.14.0.tar.gz' had non-zero exit status


Then last night when I was trying to install biostrings with biocLite function I faced with the problem that zlibbioc dependence isn't available but now that I've tried, there is no problem and the zlibbioc package has installed.

I'm using R on ubuntu 14.04 trusty and version of R is 3.2.0 and version of bioconductor is 3.1

Where is the problem?

Thanks
mansoor

R • 3.9k views
0
Entering edit mode

You should start by posting more details, such as the version of R, your OS, the exact error message, etc.

0
Entering edit mode

Edit your post adding how you tried to install and the error message. If the error message is too large, post it to pastebin and post the link here.

0
Entering edit mode
Error in untar2(tarfile, files, list, exdir, restore_times) :
incomplete block on file


means your download was incomplete. I understand it is now working. Because of the many dependencies and ways to go wrong, manually downloading and installing should be avoided. Using biocLite has most likely installed the lib as a dependency, so everything should be fine.