View source: R/evalparsetext.R
evalparsetext | R Documentation |
Function that takes your strings and evaluate them, it is useful to name variables within a for loop. The sky is the limit for this function.
evalparsetext(suastring)
suastring |
Simple character object or a vector of strings (characters). |
The output of the function evaluated in suatring vector.
It is necessary to add <<- instead of <- when using evalparsetext function to add information to a object (see example).
rm(outp)
evalparsetext(c("outp <<- 1"))
print(outp)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.