icejean commented on issue #36848:
URL: https://github.com/apache/arrow/issues/36848#issuecomment-1651445279
If I install R package with binary arrow C++ library, compilation will
suceed and the library can be loaded, but dataset and parquet are disabled,
even though the env vars have been set:
```
Sys.setenv(ARROW_USE_PKG_CONFIG=TRUE)
Sys.setenv("LIBARROW_BINARY" = TRUE)
Sys.setenv("LIBARROW_MINIMAL" = FALSE)
Sys.setenv("ARROW_R_DEV" = TRUE)
Sys.setenv(ARROW_WITH_SNAPPY =TRUE)
Sys.setenv(ARROW_PARQUET =TRUE)
Sys.setenv(ARROW_DATASET =TRUE)
install.packages("/root/R/arrow_12.0.1.tar.gz", repo=NULL, type="source")
```
I down load the rpm packages from
[packages.groonga.org](https://packages.groonga.org/centos/7/x86_64/Packages/),
and install these packages:
```
(base) [root@VM-4-12-centos .R]# yum list installed|grep arrow
Repository epel is listed more than once in the configuration
arrow-acero-devel.x86_64 12.0.1-1.el7
@/arrow-acero-devel-12.0.1-1.el7.x86_64
arrow-dataset-devel.x86_64 12.0.1-1.el7
@/arrow-dataset-devel-12.0.1-1.el7.x86_64
arrow-devel.x86_64 12.0.1-1.el7
@/arrow-devel-12.0.1-1.el7.x86_64
arrow-glib-devel.x86_64 12.0.1-1.el7
@/arrow-glib-devel-12.0.1-1.el7.x86_64
arrow12-acero-libs.x86_64 12.0.1-1.el7
@/arrow12-acero-libs-12.0.1-1.el7.x86_64
arrow12-dataset-libs.x86_64 12.0.1-1.el7
@/arrow12-dataset-libs-12.0.1-1.el7.x86_64
arrow12-glib-libs.x86_64 12.0.1-1.el7
@/arrow12-glib-libs-12.0.1-1.el7.x86_64
arrow12-libs.x86_64 12.0.1-1.el7
@/arrow12-libs-12.0.1-1.el7.x86_64
(base) [root@VM-4-12-centos .R]# yum list installed|grep parquet
Repository epel is listed more than once in the configuration
parquet-devel.x86_64 12.0.1-1.el7
@/parquet-devel-12.0.1-1.el7.x86_64
parquet12-libs.x86_64 12.0.1-1.el7
@/parquet12-libs-12.0.1-1.el7.x86_64
```
```
installing to
/usr/lib64/R-4.1.2/lib64/R/library/00LOCK-arrow/00new/arrow/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded from temporary location
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (arrow)
> library(arrow)
Some features are not enabled in this build of Arrow. Run `arrow_info()` for
more information.
载入程辑包:‘arrow’
The following object is masked from ‘package:utils’:
timestamp
> arrow_info()
Arrow package version: 12.0.1
Capabilities:
acero FALSE
dataset FALSE
substrait FALSE
parquet FALSE
json FALSE
s3 FALSE
gcs FALSE
utf8proc TRUE
re2 TRUE
snappy TRUE
gzip TRUE
brotli TRUE
zstd TRUE
lz4 TRUE
lz4_frame TRUE
lzo FALSE
bz2 TRUE
jemalloc TRUE
mimalloc FALSE
To reinstall with more optional capabilities enabled, see
https://arrow.apache.org/docs/r/articles/install.html
Memory:
Allocator jemalloc
Current 0 bytes
Max 0 bytes
Runtime:
SIMD Level avx512
Detected SIMD Level avx512
Build:
C++ Library Version 12.0.1
C++ Compiler GNU
C++ Compiler Version 11.2.1
```
Is there anything that is missed?
--
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]