Last active
September 18, 2023 15:41
-
-
Save zsusswein/499860f585116575e6b9c06fbb6abe30 to your computer and use it in GitHub Desktop.
Installing precompiled arrow into a one-off script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This works for many common packages, not just arrow! | |
# fast install from https://arrow.apache.org/docs/r/articles/install.html#method-1a---binary-r-package-containing-libarrow-binary-via-rspmconda | |
options( | |
HTTPUserAgent = | |
sprintf( | |
"R/%s R (%s)", | |
getRversion(), | |
paste(getRversion(), R.version["platform"], R.version["arch"], R.version["os"]) | |
) | |
) | |
# May need to switch from jammy (Ubuntu 22.04 LTS) to something else depending on OS version (e.g. focal, darwin) | |
install.packages("arrow", repos = "https://packagemanager.rstudio.com/all/__linux__/jammy/latest") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment