MCPcopy Create free account
hub / github.com/apache/arrow / _arrow_dataset___Scanner__head

Function _arrow_dataset___Scanner__head

r/src/arrowExports.cpp:2363–2369  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2361#if defined(ARROW_R_WITH_DATASET)
2362std::shared_ptr<arrow::Table> dataset___Scanner__head(const std::shared_ptr<ds::Scanner>& scanner, int n);
2363extern "C" SEXP _arrow_dataset___Scanner__head(SEXP scanner_sexp, SEXP n_sexp){
2364BEGIN_CPP11
2365 arrow::r::Input<const std::shared_ptr<ds::Scanner>&>::type scanner(scanner_sexp);
2366 arrow::r::Input<int>::type n(n_sexp);
2367 return cpp11::as_sexp(dataset___Scanner__head(scanner, n));
2368END_CPP11
2369}
2370#else
2371extern "C" SEXP _arrow_dataset___Scanner__head(SEXP scanner_sexp, SEXP n_sexp){
2372 Rf_error("Cannot call dataset___Scanner__head(). See https://arrow.apache.org/docs/r/articles/install.html for help installing Arrow C++ libraries. ");

Callers

nothing calls this directly

Calls 2

as_sexpFunction · 0.85
dataset___Scanner__headFunction · 0.85

Tested by

no test coverage detected