lst2str: Convert a list into a string.

View source: R/fcts_biodb.R

lst2strR Documentation

Convert a list into a string.

Description

Prints a string (partially if too big) into a string.

Usage

lst2str(x, nCut = 10)

Arguments

x

The list to convert into a string.

nCut

The maximum of elements to print.

Value

A string containing the list representation (or part of it).

Examples

# Converts the first 5 elements of a list into a string:
s <- lst2str(1:10, nCut=5)


pkrog/biodb documentation built on Nov. 29, 2022, 4:24 a.m.