Read a vector consisting of atomic elements from its on-disk representation.
This is usually not directly called by users, but is instead called by dispatch in readObject
.
readAtomicVector(path, metadata, ...)
Path to a directory created with any of the vector methods for saveObject
.
Named list containing metadata for the object, see readObjectFile
for details.
Further arguments, ignored.
The vector described by info
.
"saveObject,integer-method"
, for one of the staging methods.
tmp <- tempfile()
saveObject(setNames(runif(26), letters), tmp)
readObject(tmp)
#> a b c d e f g
#> 0.09602416 0.76560016 0.76967480 0.99071231 0.97052090 0.38918276 0.46118646
#> h i j k l m n
#> 0.31524175 0.17467589 0.53157354 0.49363702 0.77930863 0.20417834 0.71339728
#> o p q r s t u
#> 0.06521611 0.35420680 0.82519942 0.27381825 0.57004495 0.33571908 0.59626279
#> v w x y z
#> 0.19151803 0.94776394 0.54248041 0.54460339 0.27859715