Description
Identify Script Name.
Description
Identifies the name of the current script in a variety of contexts, e.g. interactively or when sourced. Attempts to support RStudio environment. Based on <https://stackoverflow.com/a/32016824/2292993> and <https://stackoverflow.com/a/35842176/2292993>.