Rd_compact: Compact a list into an Rd vector

Description Usage Arguments

Description

When creating Rd from other objects it is common to iterate over a vector or list and convert each to Rd then combine the results. However toRd() can return an Rd_string, Rd_tag, or an Rd container. to combine these together intelligently, use Rd_compact which converts each to an Rd container, placing strings and tags in a container, then concatenating all together.

Usage

1

Arguments

l

list of Rd objects.


Rd documentation built on May 23, 2019, 9:03 a.m.