print
ed or str
screen representation of
R objects depending on which is estimated to produce the most useful
diff. The selection process tries to minimize screen lines while maximizing
differences shown subject to display constraints. The decision algorithm is
likely to evolve over time, so do not rely on this function making
a particular selection under specific circumstances. Instead, use
diffPrint
or diffStr
if you require one or the
other output.
diffObj(target, current, ...)
target
Diff
object; see diffPrint
.
diffPrint
for details on the diff*
functions,
diffStr
,
diffChr
to compare character vectors directly
diffDeparse
to compare deparsed objects