I have an R script whose path is "/path_to_directory/file.R". I attempt to source the file by running
dir<-"/path_to_directory" source(