make_copy | R Documentation |
Duplicate an oject in the global environment, so that one version can be modified without losing the previous version. Useful for testing modifications to objects generated by time-consuming code.
make_copy(var_name, append=".old", envir=.GlobalEnv)
var_name |
character string, the name of the object to be copied. |
append |
character string, the text to be appended to the object's name when making the copy. Defaults to ".old". |
envir |
the name of the environment in which to make the changes. Defaults to the global environment, |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.