utils.history.call: Compacts a call before it is stored in the history of an...

View source: R/utils.flag.start.r

utils.history.callR Documentation

Compacts a call before it is stored in the history of an object

Description

WARNING: UTILITY SCRIPTS ARE FOR INTERNAL USE ONLY AND SHOULD NOT BE USED BY END USERS AS THEIR USE OUT OF CONTEXT COULD LEAD TO UNPREDICTABLE OUTCOMES.

A call from match.call() holds the arguments as they were written, usually names (e.g. x = gl). When the function is called through do.call(fun, list(x = gl, ...)) the call holds the evaluated arguments instead: the whole input object, which itself carries its history, so the history grows with every such step. The returned call keeps names, expressions and small values (atomic vectors of up to 20 elements), and replaces any other value with a short label such as '<dartR: 250 ind x 255 loc>'. A function given as the value of the call head is replaced by its name.

Usage

utils.history.call(call)

Arguments

call

A call, typically match.call() of the calling function [required].

Value

The compacted call.

Author(s)

Custodian: Bernd Gruber – Post to https://groups.google.com/d/forum/dartr

See Also

Other utilities: gl.He(), gl.Ho(), gl.alf(), utils.allelic.richness(), utils.basic.stats(), utils.check.datatype(), utils.collapse.matrix(), utils.dart2genlight(), utils.dist.binary(), utils.fbm.amat(), utils.fbm.blocks(), utils.fbm.colblocks(), utils.fbm.colwise(), utils.fbm.copy(), utils.fbm.count.mean(), utils.fbm.decode(), utils.fbm.grm(), utils.fbm.has(), utils.fbm.new(), utils.fbm.pair.counts(), utils.fbm.reader(), utils.fbm.rowwise(), utils.fbm.tempfile(), utils.flag.start(), utils.het.pop(), utils.is.fixed(), utils.jackknife(), utils.n.var.invariant(), utils.plot.save(), utils.read.fasta(), utils.read.ped(), utils.recalc.avgpic(), utils.recalc.callrate(), utils.recalc.freqhets(), utils.recalc.freqhomref(), utils.recalc.freqhomsnp(), utils.recalc.maf(), utils.reset.flags(), utils.transpose(), utils.vcf.depth(), utils.vcfr2genlight.polyploid()


dartR.base documentation built on Nov. 18, 2026, 9:06 a.m.