Enables detection of the folder a script resides in with certain accuracy

Share:

Description

R does not have a default way to return and use, the location of a specific script.

Usage

1
2
3

Source

https://github.com/molgenis/molgenis-pipelines/wiki/How-to-source-another_file.R-from-within-your-R-script