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

Method SeekBase

r/src/io.cpp:318–328  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

316 }
317
318 arrow::Status SeekBase(int64_t pos) {
319 if (closed()) {
320 return arrow::Status::IOError("R connection is closed");
321 }
322
323 return SafeCallIntoRVoid(
324 [&]() {
325 cpp11::package("base")["seek"](connection_sexp_, cpp11::as_sexp<double>(pos));
326 },
327 "seek() on R connection");
328 }
329
330 private:
331 bool closed_;

Callers

nothing calls this directly

Calls 3

closedFunction · 0.85
IOErrorFunction · 0.85
SafeCallIntoRVoidFunction · 0.85

Tested by

no test coverage detected