From user-return-179-archive-asf-public=cust-asf.ponee.io@arrow.apache.org Mon Aug 12 21:51:52 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 78D8B180637 for ; Mon, 12 Aug 2019 23:51:52 +0200 (CEST) Received: (qmail 89726 invoked by uid 500); 12 Aug 2019 21:51:51 -0000 Mailing-List: contact user-help@arrow.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@arrow.apache.org Delivered-To: mailing list user@arrow.apache.org Received: (qmail 89715 invoked by uid 99); 12 Aug 2019 21:51:51 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Aug 2019 21:51:51 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 58917C02E7 for ; Mon, 12 Aug 2019 21:51:51 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.199 X-Spam-Level: X-Spam-Status: No, score=-0.199 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-he-de.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 405LGLkNhg5r for ; Mon, 12 Aug 2019 21:51:48 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2607:f8b0:4864:20::341; helo=mail-ot1-x341.google.com; envelope-from=wesmckinn@gmail.com; receiver= Received: from mail-ot1-x341.google.com (mail-ot1-x341.google.com [IPv6:2607:f8b0:4864:20::341]) by mx1-he-de.apache.org (ASF Mail Server at mx1-he-de.apache.org) with ESMTPS id 8899D7DC5E for ; Mon, 12 Aug 2019 21:51:48 +0000 (UTC) Received: by mail-ot1-x341.google.com with SMTP id m24so11815311otp.12 for ; Mon, 12 Aug 2019 14:51:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-transfer-encoding; bh=Dq7gwONaXK6XgWimq0WG4WQKxSs6Dy/wni4V8bmlktE=; b=JrWRmpwqE64vqbfXNPeci/gkhZVgmvy3Akmd4PPU2H4DfWbq+1nw8G1FMdOXnzs/aL 9Gg0G3yAP1ypKY6Dq0/ucyneQBfOtnGVYqFRvaqgHgDqL2vDKz4s4hHeaPfDSRzo1Htc AQcmRtUNvNFoTFB6oDvjf+TfkGx2ENok+hfpoi7ybPUoCtCqByFlJfIW23CBSy/J3t9q i0dWU4w9bYh23xz7pu+fEpTMujg44o6iKgCPvYcWRWZMjo+faumj3uvLIXbvbNsHMXCk R6i35WFf1sRIan1NyuRBZov/WaZDcA+JStJryF4qCa1lIPxZqYK7JNgnvIaL+NWKIXTU Tebg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-transfer-encoding; bh=Dq7gwONaXK6XgWimq0WG4WQKxSs6Dy/wni4V8bmlktE=; b=NnXGRdSFMdqp59cfSK1sTGR6Ep/KvAv5URNZLQQVauF83K92HAhnDR38atp43MMfZl UhhhiAEo+D8RoNxIsi/hT8tnmnNdmdTvk9O64XmZJZVt743gqj5CAdDELzmMOMGLs6qY JCSiBEszdLzBqE+GwAZPgtJq2+Pji7s6FkOoNOnx7SLxDTDQXlK8rrwGMF2GjkAgcXbH w57XYK+/UBnyc3PM8R5/iDbYR23OcHYGCkcF8IIaQ1hz5+LHnVW54xxI35/1yOVGxVhI Bjat0TJDBt4iAJqa2Tr8lPUSH9ye8shcsRcT86oRDC++Du1yt/uSeckEOSLcvovlxL7q fxjQ== X-Gm-Message-State: APjAAAUm/OhAQRwgX9UYBaXsrcT7jBe4J58lfElChbGVaNghL/zEmDyk 5IYENNn8vPhdkhgYqfyzyTRaV+4nKfpOYT76VlVtid6O X-Google-Smtp-Source: APXvYqxmKf86CYL8K+aiz2h16j9ha2LTNJp2VIGjKXG5EFY0N+J0VGIOtlG4qYYOmuzH6mG0QvaBrEC53UghR5QUQKY= X-Received: by 2002:a5e:9e0a:: with SMTP id i10mr36820098ioq.44.1565646706986; Mon, 12 Aug 2019 14:51:46 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Wes McKinney Date: Mon, 12 Aug 2019 16:51:09 -0500 Message-ID: Subject: Re: install R package To: user@arrow.apache.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 w= rote: > > 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 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 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 =E2=80=98/home/jt/R/x86_64-pc-linux-gnu-librar= y/3.6=E2=80=99 >> > (as =E2=80=98lib=E2=80=99 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) >> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D >> > downloaded 103 KB >> > >> > * installing *source* package =E2=80=98arrow=E2=80=99 ... >> > ** package =E2=80=98arrow=E2=80=99 successfully unpacked and MD5 sums = checked >> > ** using staged installation >> > PKG_CFLAGS=3D -DARROW_R_WITH_ARROW >> > PKG_LIBS=3D-larrow -lparquet >> > ** libs >> > g++ -std=3Dgnu++11 -I"/usr/share/R/include" -DNDEBUG -DARROW_R_WITH_AR= ROW -I"/home/jt/R/x86_64-pc-linux-gnu-library/3.6/Rcpp/include" -fvisibili= ty=3Dhidden -fpic -g -O2 -fdebug-prefix-map=3D/build/r-base-V0XiTa/r-base-= 3.6.1=3D. -fstack-protector-strong -Wformat -Werror=3Dformat-security -Wdat= e-time -D_FORTIFY_SOURCE=3D2 -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 f= ile or directory >> > #include >> > ^~~~~~~~~~~~~~~~~~~~~~~~ >> > compilation terminated. >> > make: *** [/usr/lib/R/etc/Makeconf:176: array.o] Error 1 >> > ERROR: compilation failed for package =E2=80=98arrow=E2=80=99 >> > * removing =E2=80=98/home/jt/R/x86_64-pc-linux-gnu-library/3.6/arrow= =E2=80=99 >> > * restoring previous =E2=80=98/home/jt/R/x86_64-pc-linux-gnu-library/3= .6/arrow=E2=80=99 >> > Warning in install.packages : >> > installation of package =E2=80=98arrow=E2=80=99 had non-zero exit st= atus >> > >> > The downloaded source packages are in >> > =E2=80=98/tmp/RtmpzZ4tFO/downloaded_packages=E2=80=99 >> > >> > >> > --Julio