temp_var: Get an arbitrary name for a temporary variable

View source: R/temp_var.R

temp_varR Documentation

Get an arbitrary name for a temporary variable

Description

This function ensures that the variable name is cryptic enough and is not already used.

Usage

temp_var(pattern = ".var")

tempvar(pattern = ".var")

Arguments

pattern

The prefix for the variable (the rest is a random number).

Value

A string with the name of a variable.

See Also

tempfile()

Examples

temp_var()

SciViews/svMisc documentation built on May 3, 2024, 6:36 a.m.