glin commented on issue #39206: URL: https://github.com/apache/arrow/issues/39206#issuecomment-1924915089
@juanfcocontreras Sorry, I forgot that Homebrew R has binary package installation disabled entirely, not just from CRAN, so trying to install binaries from Posit Package Manager won't work out of the box either. That is still attempting a source installation where R tries to compile arrow, rather than installing the precompiled binary from Package Manager. I'd recommend switching to the [R installation from CRAN](https://cran.r-project.org/bin/macosx/) if possible, rather than Homebrew, as you'll have a much better package installation experience in general, being able to use all of CRAN's precompiled packages. If that's not feasible, I think it may still be possible to force a binary package installation on Homebrew R, but it's not straightforward. You can install directly from the binary files using: ```r install.packages("https://packagemanager.posit.co/cran/latest/bin/macosx/big-sur-arm64/contrib/4.3/arrow_14.0.0.2.tgz", repos = NULL) ``` Where you can find the binary package file URL from the Package Manager website, for a given R version and macOS arch (x86 or arm64): https://packagemanager.posit.co/client/#/repos/cran/packages/overview?search=arrow. This example is for R 4.3, macOS arm64. This method won't install dependencies by default, so you'll have to individually install each dependency manually. For why Homebrew R isn't compatible with CRAN, here is some background: https://stat.ethz.ch/pipermail/r-sig-mac/2016-March/011890.html -- 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]
