Skip to content

R object catalogue

What turns up inside a package's data/ directory, what each class is, what replaced it where something did, and how much of it we can read.

96
Classes
84
With a reader
39
Packages

What gets extracted

Objects inside the data/ directory of a CRAN or Bioconductor package. Read from source tarballs, so LazyData changes nothing about what is seen. Delimited-text files there are read, and sourced .R files are not. Classes that cannot survive data() are listed too, because authors try to bundle them anyway.

read in full
Shape, metadata and the values.
partly read
Shape and some metadata.
shape only
Dimensions and nothing more.
not read
Named by the reader, with nothing behind it yet.

An object carrying several classes resolves to the most specific one, so a tibble is listed under tibble rather than under data.frame, and what the other classes contribute is merged in rather than dropped. Reading goes one level deep, so a list of tables gives their columns and row counts but a nested sf gives no coordinate system.

Objects live in data/ unless an entry says otherwise. The few marked inst/extdata are files a package bundles and reads at use time, and the ones marked both save into data/ carrying a path to a file that has to travel with them.

Every class here was measured against a saved object. Unmeasured ones are in the backlog at the foot of the page. Counts are objects in the corpus, exported only, and cover only records something was read out of: 72,765 of 75,329 resolve to an entry here. This index carries no data identity, so records nothing was measured about are counted above along with the rest. The fields col_min and col_max publish as value_min and value_max.

How these are built

The same ninety-six classes, grouped by what is hung on the run of cells rather than by what a reader came looking for.

12 families

In R everything is a vector. A matrix is not a two-dimensional thing, it is a flat run of cells with a dim attribute saying to read it in threes. A data.frame is not a table, it is a list of equal-length runs each carrying its own name and its own type. Most of the figures below open on the same twelve cells, and what changes is only what is attached to them. The rest are built on one of those rather than on the run, and say which: an sf is a data.frame with a column of shapes, not a flat run with a map hung on it. That is also why a matrix and a data.frame of the same width are described so differently here: the frame carries a name on each column, and the matrix hangs whatever names it has on the whole block as one attribute.

Hung on the run, under the name R hangs it under.
In the file, and this reader does not open it.
Nothing here to draw: cells the file does not hold, or a place where no name goes.

Tables

Rectangular data and the containers built around it.

13 classes
data.frame base read in full 42,095 in the corpus

A list of equal-length columns presented as a table. Almost everything rectangular in R inherits from it, which is why the class column so often has more than one entry.

Built asNamed runs, side by side

Read nrowncolcolumnshas_rownamesframe_classn_missing_total
data.table data.table read in full Changes between versions 1,183 in the corpus

A data.frame with a key. The key is a sort order held with the table, and it is what makes joins and lookups fast, so it survives being saved and describes the file rather than a session. Loaded from an rda its internal self-reference is stale, so the first assignment by reference warns unless the package calls setalloccol() when it loads.

Built asNamed runs, side by side

Read nrowncolcolumnsframe_classdt_keydt_indicesn_missing_total
grouped_df dplyr read in full 145 in the corpus

A tibble carrying a grouping, so later operations run once per group. The grouping survives being saved, which means it describes the file rather than a session.

Built asNamed runs, side by side

Read group_varsn_groupsis_groupedframe_classnrowncolcolumnsn_missing_total
list base read in full 7,162 in the corpus

The container everything else is built on. What matters about a stored list is usually what is inside it, since a list of three elements can hold thousands of rows.

Built asA list that need not line up

Read element_nameselement_classeselement_len_minelement_len_maxelement_len_totalmax_depthinner_nrow_totalinner_ncolinner_namesn_missing_total

Not readeach element's own length is not recorded separately, only the range across all of them

tbl_df tibble read in full 8,125 in the corpus

A tibble. It is a data.frame with different defaults. It never converts strings to factors, never adds row names, and prints a few rows rather than all of them. A column of it can itself hold a list, which is how nested tables are stored.

Built asNamed runs, side by side

Read nrowncolcolumnsframe_classgroup_varsn_groupsn_missing_total
rowwise_df dplyr partly read 13 in the corpus

A tibble marked so that later operations run one row at a time. It uses the grouping machinery with no grouping variables, which is why its group count matches its row count.

Built asNamed runs, side by side

Read n_groupsframe_classnrowncolcolumnsn_missing_total

Not readthe rowwise state is not detected, so it reports as an ordinary tibble whose group count happens to equal its row count

DFrame S4Vectors Bioconductor shape only

Bioconductor's DataFrame, which unlike a data.frame can hold S4 columns such as run-length encodings or genomic ranges. That flexibility is why its columns sit in a listData slot rather than where a data.frame's do.

Built asSlots the reader does not open

Read nrowncol

Not readthe column list is in a slot the frame reader does not reach, so there are no column names, types or profiles

S7_object S7 shape only Needs its package installed

The newest of R's object systems, meant to succeed both S3 and S4. An instance is stored under its own class name rather than under S7_object, and its properties are ordinary attributes, so they are listed by name with their values unread.

Stored asthe user's own class name, stored with an S7 prefix

Built asSlots the reader does not open

Read object_system

Not readthe class definition travels inside the saved object and is matched on but never opened, so the declared property names and types are dropped; property values are listed by name only, so an S7 object holding a table records neither its shape nor its fingerprint

AnnotatedDataFrame Biobase Bioconductor not read Needs its package installed superseded

A data.frame with a second frame describing what its columns mean, used for the sample and feature annotation of an ExpressionSet.

Superseded byS4Vectors::DFrame

Built asSlots the reader does not open

DNAStringSet Biostrings Bioconductor not read

A set of biological sequences held in a compact shared buffer rather than as R character vectors, which is what makes whole-genome work fit in memory.

Built asA recipe instead of the cells

ExpressionSet Biobase Bioconductor not read Needs its package installed superseded

The container Bioconductor used for assay data before SummarizedExperiment, and still common in older data packages. Its assayData is an environment rather than a slot holding a matrix. The matrix is in the file and loads intact. This reader does not descend into environments, so nothing about its shape is recovered. Unreached rather than absent.

Superseded bySummarizedExperiment::SummarizedExperiment

Built asSlots the reader does not open

IRanges IRanges Bioconductor not read

Integer intervals, given as a start and a width. The base class underneath GRanges and most of Bioconductor's range arithmetic.

Built asA recipe instead of the cells

Rle S4Vectors Bioconductor not read

A run-length encoding: values and how many times each repeats. Genomic coverage is mostly long runs of the same number, so this is often orders of magnitude smaller than the vector it stands for.

Built asA recipe instead of the cells

Vectors with attributes

One value per element, with something attached that says how to read them.

20 classes
compact_intseq base read in full

Not a class a package author writes, but what R stores when a vector can be described instead of listed. A compact sequence keeps a start, a length and a step. A deferred string keeps the vector it will be converted from, and a wrapper keeps the thing it wraps plus what is known about it. All travel the same way and all expand on being changed.

Stored asan integer vector

Built asA recipe instead of the cells

Read lengthtypemeanmediancol_mincol_maxn_missing_total
Date base read in full 31 in the corpus

A calendar day, stored as the number of days since 1970. Arithmetic on it is arithmetic on that number, which is why subtracting two of them gives a difftime measured in days.

Built asThe same run, read differently

Read typemeanmediancol_mincol_maxlengthn_uniquen_missing_total
difftime base read in full

An elapsed time with its unit attached. The unit is chosen when the difference is taken, so the same interval can arrive as days here and as hours in the next column.

Built asThe same run, read differently

Read unitstypemeancol_mincol_maxlengthn_missing_total
Duration lubridate read in full

A length of time in seconds exactly, with no calendar in it. The counterpart to Period, and the difference between them is the whole of why both exist.

Built asThe same run, read differently

Read lengthtypemeancol_mincol_max
factor base read in full 125 in the corpus

A vector of codes with a level for each. The codes are what is stored. The levels give them meaning and fix the order they sort and plot in. Profiled by the same reader that profiles a factor column, so a factor stored on its own carries everything one inside a table does.

Built asThe same run, read differently

Read levelsn_levelslevel_countsn_uniquetypelengthn_missing_total
hms hms read in full

A time of day, stored as seconds since midnight with a units attribute. It is a difftime underneath, which is why it prints as a duration.

Built asThe same run, read differently

Read unitstypemeancol_mincol_maxlengthn_missing_total
IDate data.table read in full

A Date stored as an integer rather than a double. Same meaning, half the memory, and it sorts and subtracts identically, which is why data.table uses it by default when reading dates.

Built asThe same run, read differently

Read typemeanmediancol_mincol_maxlength
ordered base read in full 2 in the corpus

A factor whose levels are ranked, so a comparison between two of them means something. The ranking is the declared order of the levels, which is stored separately from the counts.

Built asThe same run, read differently

Read levelsn_levelslevel_countsis_orderedn_uniquetypen_missing_total
POSIXct base read in full 8 in the corpus

An instant, stored as seconds since 1970 with a time zone attached. The zone is not decoration. The same number prints as two different local times without it.

Built asThe same run, read differently

Read typetzmeanmediancol_mincol_maxlengthn_missing_total
units units read in full

A numeric vector that knows what it measures. Arithmetic on it converts and checks units, so adding metres to seconds is an error rather than a number.

Built asThe same run, read differently

Read unitstypemeanmediancol_mincol_maxn_missing_total
vector base read in full 4,403 in the corpus

A bare atomic vector with no class attribute: numeric, integer, character, logical, complex or raw. It profiles through the same reader as a column of a table, so a character vector reports its distinct count and its shortest and longest strings, and a logical its true, false and missing counts. The type is reported rather than the class, because there is no class to report.

Built asA run of cells

Read typelengthn_uniquen_missing_totalmin_ncharmax_ncharn_truen_falsemeanmediancol_mincol_max
blob blob partly read 1 in the corpus

A vector of binary blobs, one raw vector per element. What a database driver returns for a BLOB column, and what R has no other natural type for.

Built asA list that need not line up

Read lengthelement_lenstype

Not readeach element is a raw vector whose bytes are not kept, so there is a length and no content

haven_labelled haven partly read 2 in the corpus

A vector of codes with labels attached, which is how SPSS, Stata and SAS represent a categorical. R would use a factor. This keeps the original codes so a round trip is possible.

Built asThe same run, read differently

Read typemeanmediancol_mincol_maxlengthn_missing_total

Not readthe value labels are not read, so a column of codes has no key to what the codes mean

integer64 bit64 partly read

A 64 bit integer, which base R does not have. The bits are carried in a double, so anything reading it without bit64 sees meaningless floating point numbers.

Built asThe same run, read differently

Read lengthtypemeann_missing_total

Not readstored as doubles with a class attribute, so the values are summarised as the doubles they are bit for bit rather than as the integers they represent

Interval lubridate partly read 3 in the corpus

A span with a start and an end rather than only a length, so it knows which stretch of time it covers.

Built asThe same run, read differently

Read lengthtype

Not readthe start instant is an attribute and is not read, so an interval reports a span with no position in time

ITime data.table partly read

A time of day as seconds since midnight, held as an integer. The companion to IDate.

Built asThe same run, read differently

Read typelengthmeancol_mincol_max

Not readread as the integer count of seconds it is stored as, so a time of day prints as a number

Period lubridate partly read

A length of time in calendar units, where a month is a month whatever its length. Adding one to a date lands on the same day of the next month rather than a fixed number of seconds later.

Built asParallel runs under one name

Read lengthtype

Not readthe month, day and year components are separate attributes and are not combined, so the period is not rendered

POSIXlt base partly read

A timestamp broken into its parts as a list of parallel vectors, named the way R names them: sec, min, hour, mday, mon, year and so on. POSIXct is the same instant as one number, and is what almost everything stores.

Built asParallel runs under one name

Read element_namestypelengthn_missing_total

Not readread as the eleven-element list it is stored as, so its length reports the fields rather than the timestamps

Surv survival partly read 2 in the corpus

A survival outcome, carried as one column of a data frame and physically a matrix of times and status codes. Without its type attribute the numbers are just numbers, and the censoring is what gives them meaning.

Built asA run with a dim

Read dimdimnamestypemeanmediancol_mincol_maxn_missing_total

Not readthe type attribute saying whether the times are right censored, interval censored or a counting process is not read; a multi-state object's states attribute is likewise unread

vctrs_rcrd vctrs partly read

A vector whose elements have several parts, stored as parallel fields under one class. clock's calendar types and ivs's intervals are built on it, and read without vctrs it looks like a short list.

Built asParallel runs under one name

Read element_nameselement_lenslengthelements

Not reada record vector is a list of parallel fields and reads as that list, so its length is the number of fields rather than the number of records

Matrices and arrays

Rectangular and higher-dimensional numeric storage, dense and sparse.

17 classes
array base read in full 413 in the corpus

A matrix of more than two dimensions. R treats a matrix as the two-dimensional case of the same thing, and the values are summarised the same way, flattened to one vector, which is what summary() on an array does too.

Built asA run with a dim

Read dimn_dimlengthtypemeanmediancol_mincol_maxsdsummary_overn_missing_total

Not readnrow and ncol are left unset beyond two dimensions, so the browse table shows a dash where the dim vector has the answer

ddiMatrix Matrix read in full

A diagonal matrix. Only the diagonal is stored, so an n by n identity costs n numbers rather than n squared.

Built asA recipe instead of the cells

Read n_storeddensitymatrix_shapetypen_missing_total
dgCMatrix Matrix read in full 55 in the corpus

A general sparse matrix in compressed column form, which is the format most of R's sparse linear algebra expects. What reaches the disk is the recipe rather than the cells: the row indices i, the column pointers p, the values x and a Dim. Only the stored entries are kept, so a summary of its values is a summary of those and not of every cell.

Built asA recipe instead of the cells

Read n_storedn_nonzeron_cellsdensitymatrix_shapematrix_storagematrix_value_typen_missing_total
dgeMatrix Matrix read in full 1 in the corpus

A dense matrix carried by Matrix rather than by base R, so it can meet a sparse one in the same arithmetic without either being converted first.

Built asA run with a dim

Read n_storeddensitymatrix_shapetypemeann_missing_total
dgRMatrix Matrix read in full

A general sparse matrix compressed by row rather than by column. Less common than the column form, which is what most of R's sparse solvers expect.

Built asA recipe instead of the cells

Read n_storeddensitymatrix_shapematrix_storagetypemeann_missing_total
dgTMatrix Matrix read in full

A general sparse matrix in triplet form: row, column and value kept as three parallel vectors. Easy to build one entry at a time and converted to compressed form for arithmetic.

Built asA recipe instead of the cells

Read n_storeddensitymatrix_shapematrix_storagetypemeann_missing_total
dsCMatrix Matrix read in full 7 in the corpus

A symmetric sparse matrix. Only one triangle is stored, with the other half implied by the symmetry, which is why it holds fewer entries than it has non-zero cells.

Built asA recipe instead of the cells

Read n_storedn_nonzeron_cellsdensitymatrix_shapematrix_storagematrix_uplomatrix_value_typen_missing_total
dtCMatrix Matrix read in full

A triangular sparse matrix. Half the matrix is known to be zero from the shape, so it is not stored, and a solver can skip the back substitution it would otherwise do.

Built asA recipe instead of the cells

Read n_storeddensitymatrix_shapematrix_uplomatrix_diagtypemeann_missing_total
lgCMatrix Matrix read in full

A sparse matrix of logicals. Used for adjacency and incidence, where the question is whether a cell is set rather than by how much.

Built asA recipe instead of the cells

Read n_storeddensitymatrix_shapematrix_storagetypen_missing_total
matrix base read in full 5,063 in the corpus

One vector with a dim attribute. Everything in it shares a type, which is the difference between a matrix and a data.frame that happens to be all numeric.

Built asA run with a dim

Read dimn_dimdimnamestypemeanmediancol_mincol_maxn_missing_total

Not readsummarised across every cell as one vector, so there are no per-row or per-column figures

table base read in full 123 in the corpus

A contingency table: counts in an array whose dimnames carry both the categories and the variables they came from. The variable names are what make it readable as a cross-tabulation rather than as a bare matrix.

Built asA run with a dim

Read dimdimnamestypemeanmediancol_mincol_maxn_missing_total

Not readsummarised across every cell, so no per-margin totals

dist stats partly read 41 in the corpus

A distance matrix stored as its own lower triangle in one vector. Everything that takes one, from hclust to cmdscale, reads that layout directly.

Built asA recipe instead of the cells

Read lengthtypemeanmediancol_mincol_maxn_missing_total

Not readread as the flat vector it is stored as, so the number of objects it compares is not recovered from its Size attribute

ftable stats partly read

A contingency table flattened for printing, with several classifying variables laid along the rows and the rest along the columns.

Built asA run with a dim

Read dimtypemeanmediancol_mincol_maxn_missing_total

Not readthe row and column variable assignment that distinguishes a flat table from the array it came from is not read

ngCMatrix Matrix partly read 1 in the corpus

A pattern matrix: which cells are non-zero, with no values at all. The sparsity pattern is the data, which is what a graph or a design structure often needs.

Built asA recipe instead of the cells

Read n_storeddensitymatrix_shapematrix_storagen_missing_total

Not readthere are no values to summarise, so the profile carries a density and no distribution

indMatrix Matrix shape only

An index matrix: each row has exactly one entry set. A one-hot encoding is one of these, and like a permutation it is stored as the indices rather than as cells.

Built asA recipe instead of the cells

Read nrowncoldim

Not readthe index vector is the object and is not read; there are no values to summarise, by construction

pMatrix Matrix shape only

A permutation matrix, stored as the permutation itself rather than as cells. Multiplying by one reorders rows or columns, which is why it needs no values at all.

Built asA recipe instead of the cells

Read nrowncoldim

Not readthe permutation vector is the object and is not read, so nothing says what the reordering is; there are no values to summarise, by construction

dsparseVector Matrix not read

A sparse vector rather than a sparse matrix. It stores positions and values with no dim slot, so none of the matrix readers apply to it and it comes back as a class name.

Built asA recipe instead of the cells

Time series

Values carrying an index, regular or otherwise.

9 classes
mts stats read in full 256 in the corpus

Several regular series over one index, stored as a matrix with a column per series. Everything true of ts is true of it, including that it cannot represent a gap.

Built asA run with an index

Read ts_startts_endts_frequencydimdimnamestypemeann_missing_total
ts stats read in full 743 in the corpus

Base R's regular time series: a vector plus a tsp attribute holding a start, an end and a frequency, with every observation assumed evenly spaced. It cannot represent a gap, which is what zoo and xts were written for.

Built asA run with an index

Read ts_startts_endts_frequencyts_spantypemeanmediancol_mincol_maxn_missing_total
xts xts read in full 192 in the corpus

A zoo series whose index is always a date or a time, which is why it carries a time zone. It is a matrix underneath, so it can hold several series over one index.

Built asA run with an index

Read index_startindex_endindex_classindex_tzindex_spanindex_deltaindex_regulardimnamesn_missing_total
zoo zoo read in full 135 in the corpus

A series in index order, with the index stored explicitly, so the observations can be irregular and the index can be any type that sorts rather than only a number.

Built asA run with an index

Read index_startindex_endindex_nindex_classindex_spanindex_deltaindex_regularindex_n_gapsindex_max_gapn_missing_total
zooreg zoo read in full 29 in the corpus

A zoo series that also declares a frequency, so it can say it is regular rather than leaving a reader to infer it from the spacing.

Built asA run with an index

Read ts_frequencyindex_classindex_startindex_endtypemeann_missing_total
tbl_ts tsibble partly read 72 in the corpus

A tibble that names one column as its time index and others as the keys identifying each series. Those declarations are the whole difference from a plain tibble, and they are what is not read.

Built asNamed runs, side by side

Read nrowncolcolumnsframe_classn_missing_total

Not readthe index and key attributes that make it a tsibble are not read, so which column is time and which identify a series are unknown; its ordered attribute is picked up by the data.table index reader and reported as an index name

timeSeries timeSeries partly read 30 in the corpus

The series class from the Rmetrics family, matrix-backed with its timestamps in a slot rather than in an index attribute.

Built asA run with an index

Read nrowncoldimnamesunitstypemeann_missing_total

Not readthe positions slot carrying the timestamps is not read, so the series has no span and no index class

yearmon zoo partly read

A calendar month as a single number, the year plus the month as a twelfth. It sorts and subtracts like a number because that is what it is.

Built asThe same run, read differently

Read lengthtypemeancol_mincol_maxn_missing_total

Not readstored as a fractional year and read as a number, so the range prints as 2020.0 rather than as Jan 2020

yearqtr zoo partly read

A calendar quarter as a single number, the year plus the quarter as a fourth. The sibling of yearmon.

Built asThe same run, read differently

Read lengthtypemeancol_mincol_max

Not readstored as a fractional year and read as a number, so the range prints as 2020.0 rather than as 2020 Q1

Vector geometry

Points, lines and polygons, and the frames built around them.

7 classes
sf sf partly read Changes between versions 865 in the corpus

A data.frame with a geometry column. Every other column is ordinary data about the feature in the same row, which is why the attribute columns profile exactly as a plain table's do.

Built asA table with the shapes beside it

Read geom_typen_geometriesbboxcrs_epsgcolumnsn_missing_total

Not readthe coordinates themselves are not summarised

sfc sf partly read 31 in the corpus

The geometry column of an sf table. Each element is one feature's shape, and the column as a whole carries the coordinate reference system and the bounding box. This is where R's vector spatial work has been since sf replaced sp.

Built asA table with the shapes beside it

Read geom_typegeom_dimensionn_geometriesn_emptybboxcrs_inputcrs_epsgcrs_wktn_missing_total

Not readthe coordinates themselves are not summarised, so there is no vertex count and no measure of geometry complexity

SpatialLinesDataFrame sp partly read superseded 25 in the corpus

Lines with a table of attributes, from sp. The geometry sits in a slot of nested lists, one per feature, which is why the shape reported is the attribute table's rather than the geometry's.

Superseded bysf

Built asA table with the shapes beside it

Read nrowncolbboxcolumnsn_missing_total

Not readthe lines slot is not walked, so there is no vertex or part count

SpatialPointsDataFrame sp partly read superseded 88 in the corpus

Points with a table of attributes, from the package that carried R's vector GIS before sf. The projection libraries it depended on have since been retired.

Superseded bysf

Built asA table with the shapes beside it

Read nrowncolbboxcrs_inputcolumnsn_missing_total

Not readthe coordinates are in a slot the reader does not open, so there is no point count independent of the attribute table

SpatialPolygonsDataFrame sp partly read superseded 356 in the corpus

The S4 spatial classes that carried R's vector GIS work before sf. The attribute table sits in a data slot and the shapes in a polygons slot beside it, rather than in one column of one table. Reading one today needs sp installed, and the packages it depended on for projections and geometry operations have been retired.

Superseded bysf

Built asA table with the shapes beside it

Read nrowbboxcrs_inputis_spatialn_missing_total

Not readthe geometry slot is not walked, so there is no feature count and no geometry type

SpatialPolygons sp shape only superseded

Polygons with no attribute table, which is the geometry half of a SpatialPolygonsDataFrame. With no table there is no shape to report, so it comes back as an extent and nothing else.

Superseded bysf

Built asA table with the shapes beside it

Read bboxis_spatial

Not readno feature count and no vertex count, because the polygons slot is not walked

SpatVector terra shape only Cannot be saved

terra's vector counterpart to SpatRaster, and the modern replacement for sp's Spatial classes. Like a SpatRaster it holds a pointer and has to go through terra::wrap() before it can be saved.

Stored asPackedSpatVector wrapped before saving

Built asA table with the shapes beside it

Read nrowncol

Not readthe packed form falls through to the assay-matrix reader, which reports the coordinate matrix as the object's shape and tags it s4-assay-dims; no geometry type, no feature count, no CRS and no extent

Grids and rasters

Regular grids of cells, georeferenced to a coordinate system.

6 classes
RasterBrick raster read in full superseded 30 in the corpus

A multi-layer grid from the raster package. raster was the standard for gridded work in R for over a decade, and its author's successor package terra now does the same job faster and with a simpler set of classes.

Superseded byterra::SpatRaster

Built asA grid with a coordinate system

Read n_layersresolutionnodata_valuein_memorylayer_nameslayer_minlayer_maxbboxcrs_inputcrs_epsgn_missing_total
RasterLayer raster read in full superseded 93 in the corpus

A single-layer grid from the raster package. A RasterBrick or RasterStack is the same thing carrying several layers over one geometry.

Superseded byterra::SpatRaster

Built asA grid with a coordinate system

Read n_layersresolutionin_memorylayer_namescrs_inputcrs_epsgbboxnrowncollengthtypemeann_missing_total
RasterStack raster data/ and inst/extdata partly read Breaks when the file moves superseded

Several grids treated as one object. Unlike a brick it keeps a separate raster per layer rather than one block of values, which is why a brick is read in full and a stack is not.

Superseded byterra::SpatRaster

Built asA grid with a coordinate system

Read resolutionbboxnrowncollengthn_missing_total

Not readthe layers slot holds a raster object per layer and is not walked, so there are no layer names, no per-layer ranges and no values at all; a stack can reference layers held in separate files, and those are not followed

SpatialGridDataFrame sp partly read superseded 35 in the corpus

A regular grid with a value table, from sp. The rows are cells rather than features, which is why its shape reads as a long thin table rather than as the grid it is.

Superseded byterra::SpatRaster

Built asA grid with a coordinate system

Read nrowncolbboxcolumnsn_missing_total

Not readthe grid topology slot holding the cell size and the origin is not read, so there is no resolution; the cell values are read as an attribute table rather than as a grid

SpatialPixelsDataFrame sp partly read superseded 2 in the corpus

A grid stored as the cells that have values rather than as a full rectangle, which is what makes it different from a SpatialGridDataFrame and much smaller for a sparse coverage.

Superseded byterra::SpatRaster

Built asA grid with a coordinate system

Read nrowncolbboxcolumnsn_missing_total

Not readthe grid topology carrying the cell size and the origin is not read, so there is no resolution; nothing in the profile distinguishes it from a full grid

SpatRaster terra partly read Cannot be saved

The current way to hold gridded data in R, and the successor to the raster package's classes. A SpatRaster holds a pointer into terra's C++ side, so it cannot be saved directly. terra::wrap() turns it into a PackedSpatRaster first, and that is what a package actually bundles.

Stored asPackedSpatRaster wrapped before saving

Built asA grid with a coordinate system

Read nrowncoln_layerscrs_inputn_missing_total

Not readthe cell values are not read, so there is no distribution; resolution and extent are not recovered from the packed form; per-layer ranges are not available

Graphs

Vertices, edges, and what is attached to either.

1 class
igraph igraph partly read Changes between versions 148 in the corpus

A graph: vertices, edges, and attributes on either. Stored as a plain list with a fixed layout, which is why the counts are readable without igraph installed. That layout changed in igraph 2.0, so a graph saved before it needs upgrade_graph() and a reader that assumes the current layout is reading the wrong slots on an old one.

Built asA list that need not line up

Read n_verticesn_edgesdirectedn_missing_total

Not readthe graph, vertex and edge attribute lists are not read, so a weighted or named graph reports neither weights nor names

Fitted models

The result of fitting something to data, which packages bundle as often as the data itself.

17 classes
aov stats partly read

An analysis of variance fit. It is an lm underneath with the terms arranged for the ANOVA table, which is why the class chain says aov and then lm.

Built asA list that need not line up

Read element_nameselement_classeselement_lensmax_depthelementsattrs_other

Not readthe ANOVA table itself is computed on demand rather than stored, so nothing here is that table

coxph survival partly read 1 in the corpus

A fitted proportional hazards model, carrying coefficients, their variance, and the survival object it was fitted to.

Built asA list that need not line up

Read element_nameselement_classesmax_depthn_missing_total

Not readthe formula and the baseline hazard are not read

gam mgcv partly read 2 in the corpus

A generalised additive model: a glm whose terms can be smooths fitted from the data rather than fixed shapes. It inherits from glm and lm, so its class chain is three deep and its slot list is the longest of any model here.

Built asA list that need not line up

Read element_nameselement_classeselement_lensmax_depthelementsattrs_other

Not readthe smooth terms are a list of basis objects that are listed rather than opened, so neither the number of smooths nor their bases is read; the formula is a language object and is not rendered

glm stats partly read 15 in the corpus

A fitted generalised linear model. Everything an lm carries, plus the family and the link, which sit in a slot the reader lists by name without opening.

Built asA list that need not line up

Read element_nameselement_classesmax_depthinner_nrow_totaln_missing_total

Not readthe family and link are not read, so a logistic and a Poisson fit look the same here; the formula is not rendered

glmnet glmnet partly read

A regularisation path: one fit per penalty value rather than one fit. That is why it holds a matrix of coefficients rather than a vector, and why a bundled example of one is larger than an lm.

Built asA list that need not line up

Read element_nameselement_classeselement_lensmax_depthelementsattrs_other

Not readthe coefficient matrix is sparse and is listed rather than summarised, so neither the path length nor the number of non-zero coefficients is read

hclust stats partly read 5 in the corpus

A hierarchical clustering: the merge order, the heights the merges happened at, and the leaf order for drawing. Not a tree structure but the instructions for building one.

Built asA list that need not line up

Read element_nameselement_classeslengthn_missing_total

Not readthe leaf count and the tree height are inside the merge and height vectors and are not read

htest stats partly read

The result of a hypothesis test: statistic, p value, confidence interval, and the names of what was compared. Every test in stats returns this one shape, which is why the class is so common.

Built asA list that need not line up

Read element_nameselement_classeslengthn_missing_total

Not readthe values sit in a list and are listed by slot rather than read, so neither the statistic nor the p value is extracted

lm stats partly read 41 in the corpus

A fitted linear model. It is a plain list, so its slot names are readable without stats loaded: coefficients, residuals, fitted values, the terms object and, when the fit kept it, the model frame the data came from.

Built asA list that need not line up

Read element_nameselement_classeselement_len_totalmax_depthinner_nrow_totalinner_namesn_missing_total

Not readthe formula is a language object and is not rendered, so the model is not identified; no response class, and no coefficient count separate from the slot lengths

lme nlme partly read

A fitted linear mixed model from nlme, the older of R's two mixed model packages and the one that is a plain list rather than S4, which is why more of it is readable.

Built asA list that need not line up

Read element_nameselement_classeselement_lensmax_depthelementsattrs_other

Not readthe random effects structure and the grouping factors are in slots that are listed rather than read

nls stats partly read

A nonlinear least squares fit. Small, because it stores the model function and the converged parameters rather than a design matrix.

Built asA list that need not line up

Read element_nameselement_classeselement_lensmax_depthelementsattrs_other

Not readthe model function is a closure and is not read; no convergence information is extracted

prcomp stats partly read 1 in the corpus

A principal components fit: the rotation matrix, the standard deviations, and optionally the rotated data. Small and self-contained, which is why it is a common thing to bundle.

Built asA list that need not line up

Read element_nameselement_classeslengthn_missing_total

Not readthe component count and the variance explained are not derived from the slots

randomForest randomForest partly read 3 in the corpus

A fitted forest. It keeps per-tree structure and the out-of-bag error trace, which is why the object is large relative to the data it was fitted to.

Built asA list that need not line up

Read element_nameselement_classesmax_depthn_missing_total

Not readthe tree count, the mtry setting and the out-of-bag error sit in slots that are listed rather than read

rpart rpart partly read 4 in the corpus

A fitted classification or regression tree. Its frame slot is a data.frame with one row per node, which is why a tree reports rows nested inside it.

Built asA list that need not line up

Read element_nameselement_classesmax_depthinner_nrow_totalinner_namesn_missing_total

Not readthe node table is reached as an anonymous nested frame, so neither the depth nor the leaf count is derived from it

survfit survival partly read 1 in the corpus

An estimated survival curve: times, numbers at risk, numbers of events, and the step function itself. What a Kaplan-Meier plot is drawn from.

Built asA list that need not line up

Read element_nameselement_classeslengthn_missing_total

Not readthe curve is a set of parallel vectors that are listed rather than summarised, so neither the follow-up time nor the event count is extracted

dendrogram stats shape only

The same clustering as a nested list, one element per branch, with attributes carrying the height and the labels. Deeply recursive, which is the one thing about it that is measured.

Built asA list that need not line up

Read max_depthlengthtype

Not readthe branch attributes carrying heights and labels are not read at any level; no leaf count

mcmc.list coda shape only 17 in the corpus

Parallel MCMC chains, each a matrix of draws by parameter. What every Bayesian sampler in R is converted to before it is diagnosed.

Built asA list that need not line up

Read lengthtype

Not readthe chains are matrices inside a list and are not descended into, so neither the draw count nor the parameter names is read

merMod lme4 shape only Needs its package installed

A fitted mixed model. Unlike the other model classes it is S4 rather than a list, so it falls to the S4 path and a matrix found in one of its slots is reported as the object's shape.

Built asSlots the reader does not open

Read object_systems4_package

Not readthe shape comes from the first matrix found in a slot rather than from the model; no fixed effects, no random effect structure and no observation count

Handles and non-data objects

Not data but a reference to it, or not data at all. Bundling one is usually a mistake, and a quiet one.

4 classes
big.matrix bigmemory data/ and inst/extdata not read Cannot be saved

A matrix held outside R's memory so it can outgrow it. The object is a pointer to that memory, so what a package bundles is the descriptor and the backing file, attached with attach.big.matrix().

Stored asa big.matrix.descriptor plus a backing file wrapped before saving

Built asNothing the reader opens

environment base not read

A binding from names to values. R writes a user environment with everything in it, so the contents do travel. What is written by reference instead is the global environment and any package or namespace environment, which come back attached to whatever the loading session has. Nothing here descends into one, so an object that keeps its data in an environment reports a class name and no shape, and that is this reader rather than the format.

Built asNothing the reader opens

ffdf ff data/ and inst/extdata not read Breaks when the file moves

A frame whose columns live in files on disk, paged in as needed. It saves and loads without error and works until the files move, which makes it the path-reference failure rather than the pointer one.

Stored asan ff file on disk plus its metadata wrapped before saving

Built asNothing the reader opens

function base not read

A closure: its arguments, its body, and the environment it was defined in. It saves and loads, but the environment it carries can pull an entire session's worth of objects into the file with it.

Built asNothing the reader opens

Seen in the corpus and not in this catalogue

Found by scanning every class string the lookup fails to match, rather than by remembering.

817 unmatched

A catalogue written from recall is complete once and then decays. These are the classes the corpus holds that nothing above describes, ordered by how much of it they account for, so the next entry worth writing is the one at the top. Package counts are an upper bound, because a package holding two class chains that resolve to one entry is counted for each.

bn.fit/bn.fit.dnet 206 objects 3 packages
knot 137 objects 1 packages
EMLN 78 objects 1 packages
trackdata 46 objects 3 packages
fts/fds 35 objects 2 packages
hyper2 35 objects 1 packages
sfts/fts/fds 35 objects 3 packages
mvp 26 objects 1 packages
dictionary2 22 objects 9 packages
f2/cross 22 objects 6 packages
CoTiMAFit 20 objects 1 packages
fe_yield_table 19 objects 1 packages
geodata 19 objects 2 packages
bc/cross 18 objects 8 packages
mesh3d 18 objects 8 packages
nb 18 objects 6 packages
capthist 17 objects 3 packages
permutation/cycle 17 objects 1 packages
MclustDA 16 objects 1 packages
lim 16 objects 4 packages
secr 16 objects 1 packages
bn.fit/bn.fit.gnet 15 objects 1 packages
circumplex_instrument 15 objects 1 packages
mldr 15 objects 3 packages
star_schema 15 objects 3 packages
boot 14 objects 4 packages
fds 14 objects 2 packages
VCorpus/Corpus 13 objects 6 packages
cimg/imager_array/numeric 13 objects 6 packages
dviData 12 objects 1 packages
exametrika/exametrikaData 12 objects 1 packages
fktlist 12 objects 1 packages
mtc.network 12 objects 2 packages
ratetable 12 objects 8 packages
Out/Coo 11 objects 2 packages
demogdata 11 objects 5 packages
mstATA_panel 11 objects 1 packages
corpus/character 10 objects 9 packages
fhir_bundle_list 10 objects 1 packages
glmssn 10 objects 1 packages

Cannot be read

Nothing survives being saved, so there is nothing in the file to read. All of them are handles and non-data objects.

11 classes
connection base
A file, socket or pipe, held as a small integer indexing a table of open connections. Saving one writes that integer, so it restores pointing at whatever occupies that slot in the loading session. The quietest failure of the lot, because there is nothing about the restored object to suggest it is wrong. reopen it at use time
DBIConnection DBI
A live handle to a database. It cannot outlive the session that opened it, let alone reach another machine, so what a package should bundle is the query result rather than the handle. a connection reopened with dbConnect()
externalptr base
A raw pointer into memory owned by compiled code. It saves as a null pointer and restores as one, which is the mechanism behind every class on this page that has to be wrapped before it can be stored.
H2OFrame h2o
A reference to data held by an h2o cluster, not by R. It cannot outlive the cluster, let alone reach another machine. a frame in a running h2o cluster
keras.engine.training.Model keras
A Keras model, which is a handle into a Python session reached through reticulate. Two layers of external state rather than one, and neither survives being written to an rda. a model file written with save_model_tf() or save_model_hdf5()
ncdf4 ncdf4
A handle to an open NetCDF file. The object is a file identifier and some cached metadata, so it restores pointing at a file descriptor that no longer exists. Bundle the .nc file and open it at use time. a NetCDF file on disk, reopened with nc_open()
python.builtin.object reticulate
Any Python object reached through reticulate. The R object is a handle into a Python session, which is the general case that the keras and torch entries are instances of. whatever the Python side can write
Table arrow
An Arrow table lives in C++ memory behind a handle. Saving one raises no error and every method then fails on the restored object, which makes it a quiet trap rather than a loud one. Put the parquet file under inst/extdata instead. a .parquet or .feather file read at use time Built as Nothing the reader opens
torch_tensor torch
A tensor living in libtorch's memory. Like the others here it saves as a pointer, and unlike most of it the failure can be silent for a while, because printing the object may work before arithmetic does. a file written with torch_save()
xgb.Booster xgboost
A fitted gradient boosting model held behind a pointer into xgboost's own memory. It has a save format of its own, and a booster saved with save() instead restores as an empty handle. a model file written with xgb.save()
xml_document xml2
A parsed XML tree held by libxml2. The R object is a pointer to it, so a saved document restores as a handle to nothing and every accessor fails. the XML file itself Built as Nothing the reader opens

No reader yet

Opened, and nothing came back.

10 classes

Backlog

Never opened, so whether they read is unknown.

35 candidates
multiPhylo ape
network network
phylo ape
tbl_graph tidygraph
envRefClass methods definition missing
formula stats
lgb.Booster lightgbm null pointer
R6 R6
DelayedArray DelayedArray Bioconductor
dfm quanteda
DocumentTermMatrix tm
HDF5Array HDF5Array Bioconductor path reference
simple_triplet_matrix slam
SVT_SparseMatrix SparseArray Bioconductor
draws_array posterior
draws_df posterior
stanfit rstan definition missing
im spatstat.geom
stars stars
stars_proxy stars path reference
owin spatstat.geom
ppp spatstat.geom
psp spatstat.geom
DNAbin ape
GRanges GenomicRanges Bioconductor
GRangesList GenomicRanges Bioconductor
phyloseq phyloseq Bioconductor
Seurat SeuratObject definition missing
SingleCellExperiment SingleCellExperiment Bioconductor definition missing
SummarizedExperiment SummarizedExperiment Bioconductor
tokens quanteda
TreeSummarizedExperiment TreeSummarizedExperiment Bioconductor
AsIs base
Hmisc_labelled Hmisc
nanotime nanotime

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy