Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

vector-old-ctors

Retired vector construction by length


Description

Deprecated lifecycle

These functions were deprecated and renamed with new_ prefix in rlang 0.2.0. This is for consistency with other non-variadic object constructors.

Usage

node(car, cdr = NULL)

lgl_len(.n)

int_len(.n)

dbl_len(.n)

chr_len(.n)

cpl_len(.n)

raw_len(.n)

bytes_len(.n)

list_len(.n)

lgl_along(.x)

int_along(.x)

dbl_along(.x)

chr_along(.x)

cpl_along(.x)

raw_along(.x)

bytes_along(.x)

list_along(.x)

Arguments

.n

The vector length.

.x

A vector.


rlang

Functions for Base Types and Core R and 'Tidyverse' Features

v0.4.11
MIT + file LICENSE
Authors
Lionel Henry [aut, cre], Hadley Wickham [aut], mikefc [cph] (Hash implementation based on Mike's xxhashlite), Yann Collet [cph] (Author of the embedded xxHash library), RStudio [cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.