arrow-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aldrin <>
Subject Re: Understanding R and C++ using cpp11
Date Tue, 08 Jun 2021 15:54:08 GMT
Thank you Neal! I'll check those out and I appreciate the tips!

Hi Antoine, I do include those. That's a reason I am especially confused,
since I don't get any issue on including them. Although, interestingly, the
error " 'arrow' does not name a type " is there whether or not I include
the arrow headers. If they are not included though, compilation stops at
that step.

Here's a gist to make it easier to see the difference. I've also included
more code just for completeness. If there's anything else I can include
that would be helpful, please let me know!

Aldrin Montana
Computer Science PhD Student
UC Santa Cruz

On Tue, Jun 8, 2021 at 12:14 AM Antoine Pitrou <> wrote:

> On Fri, 4 Jun 2021 17:26:03 -0700
> Aldrin <> wrote:
> > Hello!
> >
> > I am trying to wrap some C++ code I have that uses arrow with R to enable
> > users to continue working in R. Unfortunately, I get a compilation error
> of
> > `arrow does not name a type` when it gets to the return type of my
> function
> > which is
> > `arrow::Result<std::shared_ptr<arrow::ipc::RecordBatchStreamReader>>`.
> > posted in RStudio in case this is purely a cpp11 library issue happening
> (
> >
> Did you include the Arrow headers? For example `#include "arrow/api.h"`?

View raw message