Source specific lines in an R file

source_lines(file, lines, encoding = "UTF-8", ...)

Arguments

file

character string with the path to the file to source.

lines

numeric vector of lines to source in file.