Description Usage Arguments Value Examples
View source: R/test_students.R
Sources an R file to get its functions and content into the environment.
1 | source_to_env(file, env_name, envir_home = .GlobalEnv)
|
file |
the location of the .R file to source. |
env_name |
A name for the envir in which to store the data. |
envir_home |
the environment into which to assign the object (env_name). The default is .GlobalEnv. |
A named environment with the content of the .R file
1 2 3 4 5 6 | ## Not run:
if(interactive()){
#EXAMPLE1
}
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.