Learn R Programming

uavRmp (version 0.6.2)

makeGlobalVar: Generates a variable with a certain value in the R environment

Description

Generates a variable with a certain value in the R environment

Usage

makeGlobalVar(name, value)

Arguments

name

character string name of the variable

value

character string value of the variable

Examples

Run this code
if (FALSE) {

# creates the global var `pathToData` with the value `~/home/data`
makeGlobalVar("pathToData","~/home/data") 

}

Run the code above in your browser using DataLab