Tarkennettu haku
bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ Source: r-cran-ff  ]

Paketti: r-cran-ff (4.5.0 ds-1 ja muut)

Links for r-cran-ff

Screenshot

Debian-palvelut:

Imuroi lähdekoodipaketti r-cran-ff:

Ylläpitäjät:

External Resources:

Samankaltaisia paketteja:

Memory-Efficient Fast-Access Storage of Large Data

The ff package provides data structures that are stored on disk but behave (almost) as if they were in RAM by transparently mapping only a section (pagesize) in main memory - the effective virtual memory consumption per ff object. ff supports R's standard atomic data types 'double', 'logical', 'raw' and 'integer' and non-standard atomic types boolean (1 bit), quad (2 bit unsigned), nibble (4 bit unsigned), byte (1 byte signed with NAs), ubyte (1 byte unsigned), short (2 byte signed with NAs), ushort (2 byte unsigned), single (4 byte float with NAs). For example 'quad' allows efficient storage of genomic data as an 'A','T','G','C' factor. The unsigned types support 'circular' arithmetic. There is also support for close-to-atomic types 'factor', 'ordered', 'POSIXct', 'Date' and custom close-to-atomic types.

ff not only has native C-support for vectors, matrices and arrays with flexible dimorder (major column-order, major row-order and generalizations for arrays). There is also a ffdf class not unlike data.frames and import/export filters for csv files. ff objects store raw data in binary flat files in native encoding, and complement this with metadata stored in R as physical and virtual attributes. ff objects have well-defined hybrid copying semantics, which gives rise to certain performance improvements through virtualization. ff objects can be stored and reopened across R sessions. ff files can be shared by multiple ff R objects (using different data en/de-coding schemes) in the same process or from multiple R processes to exploit parallelism. A wide choice of finalizer options allows one to work with 'permanent' files as well as creating/removing 'temporary' ff files completely transparent to the user. On certain OS/Filesystem combinations, creating the ff files works without notable delay thanks to using sparse file allocation. Several access optimization techniques such as Hybrid Index Preprocessing and Virtualization are implemented to achieve good performance even with large datasets, for example virtual matrix transpose without touching a single byte on disk. Further, to reduce disk I/O, 'logicals' and non-standard data types get stored native and compact on binary flat files i.e. logicals take up exactly 2 bits to represent TRUE, FALSE and NA.

Beyond basic access functions, the ff package also provides compatibility functions that facilitate writing code for ff and ram objects and support for batch processing on ff objects (e.g. as.ram, as.ff, ffapply). ff interfaces closely with functionality from package 'bit': chunked looping, fast bit operations and coercions between different objects that can store subscript information ('bit', 'bitwhich', ff 'boolean', ri range index, hi hybrid index). This allows to work interactively with selections of large datasets and quickly modify selection criteria.

Muut pakettiin r-cran-ff liittyvät paketit

  • depends
  • recommends
  • suggests
  • enhances

Imuroi r-cran-ff

Imurointi kaikille saataville arkkitehtuureille
Arkkitehtuuri Versio Paketin koko Koko asennettuna Tiedostot
alpha (epävirallinen siirros) 4.5.0 ds-1 970.7 kt1,720.0 kt [tiedostoluettelo]
amd64 4.5.0 ds-1 976.1 kt1,612.0 kt [tiedostoluettelo]
arm64 4.5.0 ds-1 963.7 kt1,593.0 kt [tiedostoluettelo]
armel 4.5.0 ds-1 958.2 kt1,506.0 kt [tiedostoluettelo]
armhf 4.5.0 ds-1 958.0 kt1,370.0 kt [tiedostoluettelo]
hppa (epävirallinen siirros) 4.5.0 ds-1 974.4 kt1,674.0 kt [tiedostoluettelo]
i386 4.5.0 ds-1 985.0 kt1,689.0 kt [tiedostoluettelo]
ia64 (epävirallinen siirros) 4.0.12 ds-1 946.9 kt2,147.0 kt [tiedostoluettelo]
m68k (epävirallinen siirros) 4.5.0 ds-1 960.6 kt1,492.0 kt [tiedostoluettelo]
mips64el 4.5.0 ds-1 947.1 kt1,680.0 kt [tiedostoluettelo]
ppc64 (epävirallinen siirros) 4.5.0 ds-1 978.2 kt1,792.0 kt [tiedostoluettelo]
ppc64el 4.5.0 ds-1 976.3 kt1,785.0 kt [tiedostoluettelo]
riscv64 4.5.0 ds-1 972.7 kt1,457.0 kt [tiedostoluettelo]
s390x 4.5.0 ds-1 982.2 kt1,685.0 kt [tiedostoluettelo]
sh4 (epävirallinen siirros) 4.5.0 ds-1 986.7 kt1,525.0 kt [tiedostoluettelo]
sparc64 (epävirallinen siirros) 4.5.0 ds-1 956.8 kt2,053.0 kt [tiedostoluettelo]
x32 (epävirallinen siirros) 4.5.0 ds-1 981.8 kt1,593.0 kt [tiedostoluettelo]