Learn R Programming

BBmisc (version 1.2-200)

listToShortString: Converts list to short string describing contents.

Description

Looks like this a=1,=2,b=. Vectors are displayed till a certain length.

Usage

listToShortString(xs)

Arguments

xs
[list] The list.

Value

  • [character(1)].

Examples

Run this code
listToShortString(list(a=1, b=NULL, "foo", c=1:10))

Run the code above in your browser using DataLab