number_unnamed: Number Starting at '1'

Description Usage Arguments Examples

View source: R/utils.R

Description

JavaScript starts at 0, but R starts at 1. This means unnamed lists and vectors are indexed starting at 0 in listviewer widgets. This little helper function tries to resolve the disconnect by assigning sequential numbers starting at 1 to names for unnamed lists and vectors. Please note though that using number_unnamed will potentially cause difficulties serializing back and forth between JavaScript and R.

Usage

1

Arguments

l

list

Examples

1
2
3
4

timelyportfolio/listviewer documentation built on Oct. 8, 2018, 1:24 a.m.