Is it possible to use include files in R like in most programming languages, for example C?
Is it possible to use include files in R like in most programming languages, for example C?
For completeness, including notes:
Doing this will execute the commands in the file, so be careful with it.
source("my_file.r")
or
source(file="my_file.r")