This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Problem in installing argyle package to R in ubuntu

Hi,

I'm trying to install argyle package to the R in Ubuntu 16.04. first I tried to download per-compiled binary file from git-hub and installing that with the following code to the R:

install.packages("~/Dropbox/pmdvlab/argyle_0.1.tgz", repos = NULL)

installation was Ok but when I tried to load it by library(argyle), I faced with the following error:

Error: package ‘argyle’ was built for x86_64-apple-darwin10.8.0

Then I decided to install it using devtools by the following code:

devtools::install_github("andrewparkermorgan/argyle")

after taking a long time I faced with the following error:

Installation failed: transfer closed with outstanding read data remaining

What shall I do?

My R session info is:

R version 3.4.4 (2018-03-15)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 16.04.1 LTS

Matrix products: default
BLAS: /usr/lib/libblas/libblas.so.3.6.0
LAPACK: /usr/lib/lapack/liblapack.so.3.6.0

locale:
 [1] LC_CTYPE=en_US.UTF-8    LC_NUMERIC=C            LC_TIME=fa_IR           LC_COLLATE=en_US.UTF-8 
 [5] LC_MONETARY=fa_IR       LC_MESSAGES=en_US.UTF-8 LC_PAPER=fa_IR          LC_NAME=C              
 [9] LC_ADDRESS=C            LC_TELEPHONE=C          LC_MEASUREMENT=fa_IR    LC_IDENTIFICATION=C    

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] plyr_1.8.4            crlmm_1.32.0          preprocessCore_1.36.0 oligoClasses_1.36.0  

loaded via a namespace (and not attached):
 [1] Rcpp_0.12.16               BiocInstaller_1.24.0       compiler_3.4.4             GenomeInfoDb_1.10.3       
 [5] XVector_0.14.1             bitops_1.0-6               iterators_1.0.8            tools_3.4.4               
 [9] zlibbioc_1.20.0            digest_0.6.15              base64_2.0                 bit_1.1-12                
[13] RSQLite_2.0                memoise_1.1.0              tibble_1.3.3               lattice_0.20-35           
[17] ff_2.2-13                  rlang_0.1.2                Matrix_1.2-10              foreach_1.4.3             
[21] DBI_0.7                    parallel_3.4.4             mvtnorm_1.0-6              Biostrings_2.42.1         
[25] S4Vectors_0.12.2           IRanges_2.8.2              stats4_3.4.4               bit64_0.9-7               
[29] grid_3.4.4                 ellipse_0.4.1              Biobase_2.34.0             VGAM_1.0-5                
[33] limma_3.30.13              blob_1.1.0                 splines_3.4.4              codetools_0.2-15          
[37] matrixStats_0.52.2         BiocGenerics_0.20.0        GenomicRanges_1.26.4       beanplot_1.2              
[41] SummarizedExperiment_1.4.0 RCurl_1.95-4.8             openssl_0.9.6              RcppEigen_0.3.3.4.0       
[45] illuminaio_0.16.0          affyio_1.44.0
argyle install

Installation failed: transfer closed with outstanding read data remaining

That is likely saying that you were not able to completely download the package. You will need to re-try the download.

Original download was built for macOS. Looks like you are not using macOS.

As I told I'm using Ubuntu,

Thank you I will try in the other time,

successful installation on mint linux 18.3 (ubuntu based-base xenial ) about system:

Linux genomics 4.10.0-38-generic #42~16.04.1-Ubuntu SMP Tue Oct 10 16:32:20 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

installation log (Rstudio and R- session info below)

> install_github("andrewparkermorgan/argyle")
Downloading GitHub repo andrewparkermorgan/argyle@master
from URL https://api.github.com/repos/andrewparkermorgan/argyle/zipball/master
Installing argyle
'/usr/lib/R/bin/R' --no-site-file --no-environ --no-save --no-restore --quiet CMD INSTALL  \
  '/tmp/Rtmp0mcWCx/devtoolsba35f2d95b5/andrewparkermorgan-argyle-f6b846c'  \
  --library='/home/user/.R/library' --install-tests 


* installing *source* package ‘argyle’ ...
** libs
g++  -I/usr/share/R/include -DNDEBUG  -I"/home/user/.R/library/Rcpp/include"    -fpic  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c RcppExports.cpp -o RcppExports.o
g++  -I/usr/share/R/include -DNDEBUG  -I"/home/user/.R/library/Rcpp/include"    -fpic  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c dist.cpp -o dist.o
g++  -I/usr/share/R/include -DNDEBUG  -I"/home/user/.R/library/Rcpp/include"    -fpic  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c tQN.cpp -o tQN.o
g++ -shared -L/usr/lib/R/lib -Wl,-Bsymbolic-functions -Wl,-z,relro -o argyle.so RcppExports.o dist.o tQN.o -L/usr/lib/R/lib -lR
installing to /home/user/.R/library/argyle/libs
** R
** data
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded
* DONE (argyle)

session info:

> session_info()
Session info --------------------------------------------------------------------------------
 setting  value                       
 version  R version 3.4.4 (2018-03-15)
 system   x86_64, linux-gnu           
 ui       RStudio (1.1.442)           
 language en_IN:en                    
 collate  en_IN.UTF-8                 
 tz       Asia/Kolkata                
 date     2018-04-22                  

Packages ------------------------------------------------------------------------------------
 package   * version date       source        
 base      * 3.4.4   2018-03-16 local         
 compiler    3.4.4   2018-03-16 local         
 curl        3.2     2018-03-28 CRAN (R 3.4.4)
 datasets  * 3.4.4   2018-03-16 local         
 devtools  * 1.13.5  2018-02-18 CRAN (R 3.4.3)
 digest      0.6.15  2018-01-28 CRAN (R 3.4.3)
 git2r       0.21.0  2018-01-04 CRAN (R 3.4.3)
 graphics  * 3.4.4   2018-03-16 local         
 grDevices * 3.4.4   2018-03-16 local         
 httr        1.3.1   2017-08-20 CRAN (R 3.4.1)
 knitr       1.20    2018-02-20 CRAN (R 3.4.3)
 memoise     1.1.0   2017-04-21 CRAN (R 3.4.3)
 methods   * 3.4.4   2018-03-16 local         
 R6          2.2.2   2017-06-17 CRAN (R 3.4.3)
 stats     * 3.4.4   2018-03-16 local         
 tools       3.4.4   2018-03-16 local         
 utils     * 3.4.4   2018-03-16 local         
 withr       2.1.2   2018-03-15 CRAN (R 3.4.4)
 yaml        2.1.18  2018-03-08 CRAN (R 3.4.4)

Thank you a lot, I think my problem was because of my internet connection.

0 answers

No answers yet.

Log in to answer this question.