Movatterモバイル変換


[0]ホーム

URL:


Skip to contents

Install or upgrade the Arrow library

Source:R/install-arrow.R
install_arrow.Rd

Use this function to install the latest release ofarrow, to switch to orfrom a nightly development version, or on Linux to try reinstalling withall necessary C++ dependencies.

Usage

install_arrow(  nightly=FALSE,  binary=Sys.getenv("LIBARROW_BINARY",TRUE),  use_system=Sys.getenv("ARROW_USE_PKG_CONFIG",FALSE),  minimal=Sys.getenv("LIBARROW_MINIMAL",FALSE),  verbose=Sys.getenv("ARROW_R_DEV",FALSE),  repos=getOption("repos"),...)

Arguments

nightly

logical: Should we install a development version of thepackage, or should we install from CRAN (the default).

binary

On Linux, value to set for the environment variableLIBARROW_BINARY, which governs how C++ binaries are used, if at all.The default value,TRUE, tells the installation script to detect theLinux distribution and version and find an appropriate C++ library.FALSEwould tell the script not to retrieve a binary and instead build Arrow C++from source. Other valid values are strings corresponding to a Linuxdistribution-version, to override the value that would be detected. See theinstall guidefor further details.

use_system

logical: Should we usepkg-config to look for Arrowsystem packages? Default isFALSE. IfTRUE, source installation may befaster, but there is a risk of version mismatch. This sets theARROW_USE_PKG_CONFIG environment variable.

minimal

logical: If building from source, should we build withoutoptional dependencies (compression libraries, for example)? Default isFALSE. This sets theLIBARROW_MINIMAL environment variable.

verbose

logical: Print more debugging output when installing? DefaultisFALSE. This sets theARROW_R_DEV environment variable.

repos

character vector of base URLs of the repositories to installfrom (passed toinstall.packages())

...

Additional arguments passed toinstall.packages()

Details

Note that, unlike packages liketensorflow,blogdown, and others thatrequire external dependencies, you do not need to runinstall_arrow()after a successfularrow installation.

See also

arrow_info() to see if the package was configured withnecessary C++ dependencies.install guidefor more ways to tune installation on Linux.


[8]ページ先頭

©2009-2025 Movatter.jp