0

I tried to install {arrow} using install.packages("arrow") but I am getting the following error

In file included from array.cpp:18:0:
./arrow_types.h:198:10: fatal error: parquet/arrow/reader.h: No such file or directory

I am using R 3.6.1

xiaodai
  • 14,889
  • 18
  • 76
  • 140

1 Answers1

6

It seems to be "hidden" in plain sight in the README doc

I have to install libparquet-dev via

sudo apt-get install libparquet-dev

then it works

xiaodai
  • 14,889
  • 18
  • 76
  • 140
  • Quick note: this has changed with more recent arrow releases. It should "just work". See the install vignette here: https://cran.r-project.org/web/packages/arrow/vignettes/install.html – karldw May 03 '20 at 18:40