Users of the arrow package will typically want to use the latestrelease version of the package, but may occasionally require adevelopment build. Arrow developers are more likely to need the currentdevelopment version. In this article we describe the process forinstalling the development version.
Install nightly builds
Development versions of the package (binary and source) are builtnightly and hosted athttps://nightlies.apache.org/arrow/r/. These nightlypackage builds are not official Apache releases and are not recommendedfor production use. They may be useful for testing bug fixes and newfeatures under active development.
To install arrow from there, use the following command:
install.packages("arrow", repos=c(arrow="https://nightlies.apache.org/arrow/r",getOption("repos")))Conda users can install arrow nightly builds with:
conda install -c arrow-nightlies -c conda-forge --strict-channel-priority r-arrowIf you already have a version of arrow installed, you can switch tothe latest nightly development version as follows:
arrow::install_arrow(nightly=TRUE)Install from git repository
An alternative way to obtain a development versions is to install theR package from a git checkout. To do so, type the following at theterminal:
git clone https://github.com/apache/arrowcd arrow/rR CMD INSTALL .If you don’t already have libarrow on your system, when installingthe R package from source, it will also download and build libarrow foryou. See the links below for build environment variables for options forconfiguring the build source and enabled features.
Further reading
- For users looking for information about installing on Linux, see theLinux installation article.
- For developers looking to understand the installation scripts, seetheinstallation detailsarticle.