Learn R Programming

XLConnect (version 1.1.0)

wrapList: Wrapping of arguments in a list

Description

Wraps the specified argument in a list.

Usage

wrapList(x)

Value

list which wraps the provided argument if it not already was a list. If the provided argument is a S4 class with a 'jobj' slot, the corresponding slot is extracted and wrapped in a list.

Arguments

x

Any object.

Author

Martin Studer
Mirai Solutions GmbH https://mirai-solutions.ch

Details

Wraps an argument in a list if it not already is a list. Further extracts the 'jobj' slot from S4 classes (such as workbook and cellstyle).

See Also

xlcCall