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

Method Allocate

r/src/array_to_vector.cpp:283–288  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

281 : Converter(chunked_array) {}
282
283 SEXP Allocate(R_xlen_t n) const {
284 SEXP data = PROTECT(Rf_allocVector(REALSXP, n));
285 Rf_classgets(data, Rf_mkString("Date"));
286 UNPROTECT(1);
287 return data;
288 }
289
290 Status Ingest_all_nulls(SEXP data, R_xlen_t start, R_xlen_t n) const {
291 std::fill_n(REAL(data) + start, n, NA_REAL);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected