Learn R Programming

r2shortcode (version 0.2)

searchNameSaveName: Search for the existence of a name and save if unavailable

Description

Carries out a search on the already used shorthand function names and if the new name does not exist, it saves it

Usage

searchNameSaveName(withPrefix = NULL, strN.complete, withSuffix = NULL)

Value

Concatenate of search and a boolean

Arguments

withPrefix

Provide the prefix to use for the function name, could use NULL

strN.complete

Provide the function name to search for, and save if feasible

withSuffix

Provide the suffix to use for the function name, could use NULL

Examples

Run this code
nameToCheck <- 'ObiObianom'
searchNameSaveName(strN.complete= nameToCheck)
searchNameSaveName(strN.complete= nameToCheck)


Run the code above in your browser using DataLab