RStudio cloud install arrow with lz4 support

Similar problem as:

The solution here did not work for me. Following these directions I get

> 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
In addition: Warning message:
package ‘arrow’ was built under R version 4.0.4

I am wanting to read in feather files using

arrow::read_feather()

which requires lz4 support.

Any ideas on how to fix this and install arrow with lz4 support in RStudio Cloud?

@andy_kipp, you were able to solve this last time it came up, any chance you could help out again?

Thanks to the comment from Jon Keane and his answer to my jira issue

I was able to use

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

to solve this issue.

@Cullen.Molitor Andy made a post about a possible fix for this you can find here.

I hope this helps.

@Paul_Jackson I linked this post in my original post with details on how it did not work for me and the corresponding error I received. I have been able to solve this issue (see above comment).

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.