lst2str | R Documentation |
Prints a string (partially if too big) into a string.
lst2str(x, nCut = 10)
x |
The list to convert into a string. |
nCut |
The maximum of elements to print. |
A string containing the list representation (or part of it).
# Converts the first 5 elements of a list into a string: s <- lst2str(1:10, nCut=5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.