Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-8878

[R] try_download is confused when download.file.method isn't default

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.0.0
    • R
    • r

    Description

      Hello there and thanks again for this beautiful package!

      I am trying to install arrow on linux and I got a few problematic warnings during the install. My computer is behind a firewall so not all the connections coming from rstudio are allowed.

       

      > sessionInfo()
      R version 3.6.1 (2019-07-05)
      Platform: x86_64-ubuntu18-linux-gnu (64-bit)
      Running under: Ubuntu 18.04.4 LTS
      Matrix products: default
      BLAS/LAPACK: /apps/intel/2019.1/compilers_and_libraries_2019.1.144/linux/mkl/lib/intel64_lin/libmkl_gf_lp64.so
      locale:
       [1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C LC_TIME=en_US.UTF-8 
       [4] LC_COLLATE=en_US.UTF-8 LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 
       [7] LC_PAPER=en_US.UTF-8 LC_NAME=C LC_ADDRESS=C 
      [10] LC_TELEPHONE=C LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
      attached base packages:
      [1] stats graphics grDevices utils datasets methods base
      other attached packages:
      [1] MKLthreads_0.1
      loaded via a namespace (and not attached):
      [1] compiler_3.6.1 tools_3.6.1
      

       

      after running install.packages("arrow") I get

       

       
      installing *source* package ?arrow? ...
      ** package ?arrow? successfully unpacked and MD5 sums checked
      ** using staged installation
      *** Successfully retrieved C++ source
      *** Proceeding without C++ dependencies
      Warning message:
      In unzip(tf1, exdir = src_dir) : error 1 in extracting from zip file
      ./configure: line 132: cd: libarrow/arrow-0.17.1/lib: No such file or directory
      ------------------------- NOTE ---------------------------
      After installation, please run arrow::install_arrow()
      for help installing required runtime libraries
      ---------------------------------------------------------
      

       

       

      However, the installation ends normally.

       

       ** R
      ** inst
      ** byte-compile and prepare package for lazy loading
      ** help
      *** installing help indices
      ** building package indices
      ** installing vignettes
      ** testing if installed package can be loaded from temporary location
      ** checking absolute paths in shared objects and dynamic libraries
      ** testing if installed package can be loaded from final location
      ** testing if installed package keeps a record of temporary installation path
      * DONE (arrow)
      

       

      So I go ahead and try to run arrow::install_arrow() and get a similar warning.

       

      installing *source* package ?arrow? ...
      ** package ?arrow? successfully unpacked and MD5 sums checked
      ** using staged installation
      *** Successfully retrieved C++ binaries for ubuntu-18.04
      Warning messages:
      1: In file(file, "rt") :
       URL 'https://raw.githubusercontent.com/ursa-labs/arrow-r-nightly/master/linux/distro-map.csv': status was 'Couldn't connect to server'
      2: In unzip(bin_file, exdir = dst_dir) :
       error 1 in extracting from zip file
      ./configure: line 132: cd: libarrow/arrow-0.17.1/lib: No such file or directory
      ------------------------- NOTE ---------------------------
      After installation, please run arrow::install_arrow()
      for help installing required runtime libraries
      

      And unfortunately I cannot read any parquet file.

      Error in fetch(key) : lazy-load database '/mydata/R/x86_64-ubuntu18-linux-gnu-library/3.6/arrow/help/arrow.rdb' is corrupt

       

      Could you please tell me how to fix this? Can I just copy the zip from github and do a manual install in Rstudio?

       

      Thanks!

       

       

      Attachments

        Issue Links

          Activity

            People

              npr Neal Richardson
              Olafsson Olaf
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 50m
                  50m