powered by
This function applies the function assign multiple times
assignMultiple(namesVector, valuesList, envir = KTSEnv)
A vector containing the names to be assigned
The values to which the names will be assigned
The environment
# NOT RUN { assignMultiple(c("One", "Two", "Three"), list(1:10,2,3), envir = KTSEnv) KTSEnv$One KTSEnv$Two KTSEnv$Three # }
Run the code above in your browser using DataLab