vector_dc
and its shortcuts numeric_dc
and
integer_dc
are helper functions used in calls to .C64
.
They return an R object of class c("vector_dc", "list")
,
which contains information on the type and length of the vector to allocate.
Using vector_dc
together with INTENT = "w"
argument of .C64
leads to performance gains by avoiding unnecessary castings and copies.