abalter opened a new issue, #34783:
URL: https://github.com/apache/arrow/issues/34783

   ### Describe the bug, including details regarding any error messages, 
version, and platform.
   
   I use conda for package management, actually micromamba. I have the most 
current version of r-arrow installed.
   
   However, I'm finding some crashy behavior with large files: creating/loading 
datasets, queries, etc.
   
   I noticed in an issue someone installed from source through R and that fixed 
the problem. I'm doing it as 
[here](https://github.com/apache/arrow/issues/34061#issuecomment-1430672649), 
but it is failing.
   
   ```r
   > Sys.setenv("NOT_CRAN" = "true", "LIBARROW_BUILD" = FALSE, "ARROW_R_DEV" = 
TRUE)
   > install.packages("arrow")
   trying URL 'https://cran.rstudio.com/src/contrib/arrow_11.0.0.3.tar.gz'
   Content type 'application/x-gzip' length 3921484 bytes (3.7 MB)
   ==================================================
   downloaded 3.7 MB
   
   * installing *source* package ‘arrow’ ...
   ** package ‘arrow’ successfully unpacked and MD5 sums checked
   ** using staged installation
   **** pkg-config not installed, setting ARROW_DEPENDENCY_SOURCE=BUNDLED
   *** Unable to find libcurl and openssl
   *** Proceeding without libarrow (build not authorized)
   ------------------------- NOTE ---------------------------
   There was an issue preparing the Arrow C++ libraries.
   See https://arrow.apache.org/docs/r/articles/install.html
   ---------------------------------------------------------
   ERROR: configuration failed for package ‘arrow’
   * removing ‘/home/users/balter/micromamba/lib/R/library/arrow’
   * restoring previous ‘/home/users/balter/micromamba/lib/R/library/arrow’
   Warning in install.packages :
     installation of package ‘arrow’ had non-zero exit status
   
   The downloaded source packages are in
        ‘/tmp/RtmpsZ0yFA/downloaded_packages’
   Updating HTML index of packages in '.Library'
   Making 'packages.html' ... done
   ```
   
   I also tried installing using [this 
file](https://github.com/apache/arrow/blob/main/r/R/install-arrow.R) as 
suggested 
[here](https://github.com/apache/arrow/issues/34061#issuecomment-1430813609)
   
   But, R can't see that I have conda for some reason:
   
   ```r
   > source("install-arrow.R")
   > install_arrow(nightly=T)
   sh: 1: conda: not found
   Warning message:
   In system("conda install -y -c arrow-nightlies -c conda-forge 
--strict-channel-priority r-arrow") :
     error in running command
   > system('which conda', intern=T)
   character(0)
   attr(,"status")
   [1] 1
   Warning message:
   In system("which conda", intern = T) :
     running command 'which conda' had status 1
   > system('which micromamba', intern=T)
   character(0)
   attr(,"status")
   [1] 1
   Warning message:
   In system("which micromamba", intern = T) :
     running command 'which micromamba' had status 1
   > system('which R', intern=T)
   [1] "/usr/local/bin/R"
   ```
   
   ```
   (base) balter@exahead1:~$ which conda
   alias conda='micromamba'
   (base) balter@exahead1:~$ which R
   ~/micromamba/bin/R
   ```
   
   
   
   ### Component(s)
   
   R


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to