this.path: Get Executing Script's Path, from 'RStudio', 'Rgui', 'VSCode', 'Rscript' (Shells Including Windows Command-Line / / Unix Terminal), and 'source'

Determine the full path of the executing script. Works when running a line or selection from a script in 'RStudio', 'Rgui', and 'VSCode', when using 'source', 'sys.source', 'debugSource' in 'RStudio', 'testthat::source_file', and 'knitr::knit', and when running from a shell.

Version: 1.1.0
Suggests: utils, microbenchmark
Enhances: knitr, rprojroot, rstudioapi, testthat
Published: 2022-12-01
Author: Andrew Simmons
Maintainer: Andrew Simmons <akwsimmo at>
License: MIT + file LICENSE
NeedsCompilation: yes
Materials: README NEWS
CRAN checks: this.path results


Reference manual: this.path.pdf


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

Reverse dependencies:

Reverse depends: ptspotter
Reverse imports: common, logr, neptune


Please use the canonical form to link to this page.