I have an already saved R script, say "analysis1.R"
. I use source("analysis1.R")
command to run the R script when required in a different code.
How does one execute only the required lines of code? Say first 10 lines of the code ("analysis1.R"
)?