I am running a series of scripts sequentially and they all need some global parameters. These will be included in a file in a known sub directory as the scripts themselves.
The scripts need to be run by anyone without ANY editing. Question is: Is there a command to return the directory of the current script, so it then knows where to find the global parameter file? Or is there a simpler way? Cheers. -- View this message in context: http://r.789695.n4.nabble.com/directory-of-current-script-tp4553386p4553386.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.