R Under development (unstable) (2024-01-23 r85822 ucrt) -- "Unsuffered Consequences" Copyright (C) 2024 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > library("R.huge") R.huge v0.10.1 successfully loaded. See ?R.huge for help. Attaching package: 'R.huge' The following objects are masked from 'package:base': colnames, flush, isOpen, ncol, nrow, rowMeans, rowSums, rownames > > if ("covr" %in% loadedNamespaces()) + options("R.utils::onNonSeekable"="warning") > > pathname <- tempfile(fileext=".bin") > > apd <- FileByteVector(pathname, length=10L) > print(apd) [1] "FileByteVector: Pathname: D:/temp/Rtmp4orqsa/file10700264d63d5.bin. Opened?: TRUE. File size: 4254 bytes (4.15 kb). Dimensions: 10. Number of elements: 10. Bytes per cell: 1." > close(apd) > > if (file.exists(pathname)) file.remove(pathname) [1] TRUE > > proc.time() user system elapsed 2.34 24.87 27.51