简体   繁体   English

如何在支持 lz4 的 RStudio 云上安装箭头 package?

[英]How do I install the arrow package on RStudio Cloud with lz4 support?

I have a problem similar to this RStudio community post and to this stack overflow post.我有一个类似于此RStudio 社区帖子此堆栈溢出帖子的问题。

I have tried the solutions presented in both cases.我已经尝试了两种情况下提出的解决方案。 I still cannot get arrow installed with lz4 support.我仍然无法在 lz4 支持下安装箭头。 I am trying to be able to use arrow::read_feather() which requires lz4 support.我试图能够使用需要 lz4 支持的arrow::read_feather()

After following the instructions in the first solution, I get the following error when trying to load the arrow package.按照第一个解决方案中的说明进行操作后,尝试加载箭头 package 时出现以下错误。

> library(arrow)
Error: package or namespace load failed for ‘arrow’ in dyn.load(file, DLLpath = DLLpath, ...):
 unable to load shared object '/home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0/arrow/libs/arrow.so':
  libcrypto.so.1.0.0: cannot open shared object file: No such file or directory

Any ideas on how to install arrow with lz4 support in RStudio Cloud?关于如何在 RStudio 云中安装带有 lz4 支持的箭头的任何想法?

Thanks to the comment from @JonKeane and his answer to my jira issue感谢@JonKeane 的评论以及他对我的jira 问题的回答

I was able to use我能够使用

Sys.setenv(LIBARROW_BINARY = TRUE); install.packages('arrow', type = "source")

to solve this issue.来解决这个问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM