str {base} R Documentation

Compactly Display the Structure of an Arbitrary ``R#`` Object

Description


Compactly display the internal structure of an R object, a diagnostic function
and an alternative to summary (and to some extent, dput). Ideally, only one
line for each ‘basic’ structure is displayed. It is especially well suited to
compactly display the (abbreviated) contents of (possibly nested) lists. The
idea is to give reasonable output for any R object. It calls args for
(non-primitive) function objects.

strOptions() Is a convenience function for setting options(str = .),
see the examples.

Usage

str(object,
    list.len = 99);

Arguments

object

any R object about which you want to have some information.

list.len

numeric; maximum number of list elements to display within a level. [as integer]

Details

Authors

SMRUCC genomics Institute

Value

this function returns data object of type any kind.

clr value class

Examples


[Package base version 2.33.856.6961 Index]