How to Install and Uninstall r-cran-ff Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 06,2024

1. Install "r-cran-ff" package

This is a short guide on how to install r-cran-ff on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install r-cran-ff

2. Uninstall "r-cran-ff" package

This tutorial shows how to uninstall r-cran-ff on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove r-cran-ff $ sudo apt autoclean && sudo apt autoremove

3. Information about the r-cran-ff package on Ubuntu 21.10 (Impish Indri)

Package: r-cran-ff
Architecture: amd64
Version: 4.0.4+ds-1
Priority: optional
Section: universe/gnu-r
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian R Packages Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 1564
Depends: r-base-core (>= 4.0.3-1), r-api-4.0, r-cran-bit (>= 4.0.0), libc6 (>= 2.4), libgcc-s1 (>= 3.0), libstdc++6 (>= 4.1.1)
Recommends: r-cran-testthat (>= 0.11.0), r-cran-haven
Filename: pool/universe/r/r-cran-ff/r-cran-ff_4.0.4+ds-1_amd64.deb
Size: 968332
MD5sum: 431c2b3e59ef2aa24b8a0228c0efefcd
SHA1: 84338533fa4c7f2fba192e5aaea52ad6fac159ed
SHA256: a8f8dffebe564a3c40ac6df471fdc1458badf557deee24fbd1742a04b855f74d
SHA512: b975064c758e63748f57786cee21f8212721c3fda80d88216be2be462889b018059f89667a28a39ba4de156a618c39c1b82fa22a16ead418bf7de15799987c6e
Homepage: https://cran.r-project.org/package=ff
Description-en: 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.
Description-md5: 5195929584971030b9bea4b21a07761b