powered by
Run an R script within a project using devtools::clean_source
runScript(r = getSourceInfo()$file$file, project.id = getProject(), logRmd = FALSE)
R script within that project (r is short R script for convenience)
project id
logical indicating whether to create R markdown log
value from clean_source from devtools package
Lists scripts if no current script is active or r script is "".
# NOT RUN { run.program("read_data.R","adaprHome") # } # NOT RUN { # }
Run the code above in your browser using DataLab