arrow-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wes McKinney <wesmck...@gmail.com>
Subject Re: install R package
Date Mon, 12 Aug 2019 21:51:09 GMT
Great! Can someone open a JIRA issue about improving the documentation
for R users?

On Mon, Aug 12, 2019 at 4:16 PM Julio Trecenti <julio.trecenti@gmail.com> wrote:
>
> I followed jeroen's code and it worked!!
>
> https://gist.github.com/jeroen/15ce75d4f1194af6d48294b72a926f54
>
> Thanks!
> --Julio
>
>
> On Mon, Aug 12, 2019 at 5:39 PM Wes McKinney <wesmckinn@gmail.com> wrote:
>>
>> hi Julio,
>>
>> The R package requires you to have the Arrow and Parquet C++ libraries
>> installed. You can see instructions for installing these on Linux at
>>
>> http://arrow.apache.org/install/
>>
>> The package is supposed to successfully install if the libraries
>> aren't present, though, so there might be some bug with that logic.
>>
>> - Wes
>>
>> On Mon, Aug 12, 2019 at 3:22 PM Julio Trecenti <julio.trecenti@gmail.com> wrote:
>> >
>> > Hi! I've just tried to install {arrow} package using install.packages("arrow")
and this is what I get:
>> >
>> > System: Ubuntu 18.04
>> > R version: 3.6.1
>> >
>> > > install.packages("arrow")
>> > Installing package into ‘/home/jt/R/x86_64-pc-linux-gnu-library/3.6’
>> > (as ‘lib’ is unspecified)
>> > trying URL 'https://cloud.r-project.org/src/contrib/arrow_0.14.1.1.tar.gz'
>> > Content type 'application/x-gzip' length 105910 bytes (103 KB)
>> > ==================================================
>> > downloaded 103 KB
>> >
>> > * installing *source* package ‘arrow’ ...
>> > ** package ‘arrow’ successfully unpacked and MD5 sums checked
>> > ** using staged installation
>> > PKG_CFLAGS= -DARROW_R_WITH_ARROW
>> > PKG_LIBS=-larrow -lparquet
>> > ** libs
>> > g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG -DARROW_R_WITH_ARROW -I"/home/jt/R/x86_64-pc-linux-gnu-library/3.6/Rcpp/include"
 -fvisibility=hidden -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-V0XiTa/r-base-3.6.1=.
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2
-g  -c array.cpp -o array.o
>> > In file included from array.cpp:18:
>> > ./arrow_types.h:179:10: fatal error: parquet/arrow/reader.h: No such file or
directory
>> >  #include <parquet/arrow/reader.h>
>> >           ^~~~~~~~~~~~~~~~~~~~~~~~
>> > compilation terminated.
>> > make: *** [/usr/lib/R/etc/Makeconf:176: array.o] Error 1
>> > ERROR: compilation failed for package ‘arrow’
>> > * removing ‘/home/jt/R/x86_64-pc-linux-gnu-library/3.6/arrow’
>> > * restoring previous ‘/home/jt/R/x86_64-pc-linux-gnu-library/3.6/arrow’
>> > Warning in install.packages :
>> >   installation of package ‘arrow’ had non-zero exit status
>> >
>> > The downloaded source packages are in
>> > ‘/tmp/RtmpzZ4tFO/downloaded_packages’
>> >
>> >
>> > --Julio

Mime
View raw message