this.path: Get Executing Script's Path, from 'RStudio', 'RGui', 'Rterm' and 'Rscript' (Command-Line / / Terminal), and When Using 'source'

Determine the full path of the executing script. Works when running a line or selection from an open R script in 'RStudio' and 'RGui', when using 'source' and 'sys.source' and 'debugSource' ('RStudio' exclusive) and 'testthat::source_file', and when running R from the Windows command-line / / Unix terminal.

Version: 0.4.4
Imports: utils
Enhances: testthat
Published: 2021-03-21
Author: Andrew Simmons
Maintainer: Andrew Simmons <akwsimmo at>
License: MIT + file LICENSE
NeedsCompilation: no
CRAN checks: this.path results


Reference manual: this.path.pdf


Package source: this.path_0.4.4.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): this.path_0.4.4.tgz, r-release (x86_64): this.path_0.4.4.tgz, r-oldrel: this.path_0.4.4.tgz
Old sources: this.path archive

Reverse dependencies:

Reverse depends: ptspotter
Reverse imports: logr


Please use the canonical form to link to this page.