whoami: Get name the executing script file

Description Usage Value See Also

Description

Utility function that tries to detecs the file being run, either with Rscript or with 'source', and returns the basename without file extension. If the function is not called as a result of a file being run, it throws a warning and returns an empty string.

Usage

1

Value

String of basename without file extension.

See Also

Other utility functions: quiet_library


janusvm/jsvm documentation built on May 28, 2019, 9:39 a.m.