[ https://issues.apache.org/jira/browse/ARROW-8878?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17114186#comment-17114186 ]
Olaf commented on ARROW-8878: ----------------------------- Hi [~npr], thanks for replying back. Please see below: * getOption("download.file.method") returns wget * sorry for the low-tech question, but can I install manually without cloning? That is, simply going to the github page [https://github.com/apache/arrow], manually downloading the zip and then installing using the "install from zip" utility in Rstudio? Would that work correctly? Thanks!! > [R] how to install when behind a firewall? > ------------------------------------------ > > Key: ARROW-8878 > URL: https://issues.apache.org/jira/browse/ARROW-8878 > Project: Apache Arrow > Issue Type: Bug > Components: R > Environment: r > Reporter: Olaf > Priority: Major > > 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. > > {code:java} > > 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 > {code} > > after running {{install.packages("arrow")}} I get > > {code:java} > > 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 > --------------------------------------------------------- > {code} > > > However, the installation ends normally. > > {code:java} > ** 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) > {code} > > So I go ahead and try to run arrow::install_arrow() and get a similar warning. > > {code:java} > 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 > {code} > And unfortunately I cannot read any parquet file. > {noformat} > Error in fetch(key) : lazy-load database > '/mydata/R/x86_64-ubuntu18-linux-gnu-library/3.6/arrow/help/arrow.rdb' is > corrupt{noformat} > > 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! > > -- This message was sent by Atlassian Jira (v8.3.4#803005)