text_to_vector: Convert Text Input to Vector

View source: R/ui_to_server.R

text_to_vectorR Documentation

Convert Text Input to Vector

Description

The goal of this function is to take text input and convert it to an R vector.

Usage

text_to_vector(text_input)

Arguments

text_input

A string input to be converted to a vector.

Value

A vector parsed from the input string.

Examples


text_to_vector("1,2,3,4,5")

text_to_vector("1:5")

text_to_vector("rep(1:5, times = 2)")

text_to_vector("seq(1,10,2)")


mmints documentation built on April 3, 2025, 9:33 p.m.