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


[Up] [Top]

Documentation for package ‘this.path’ version 1.2.0

Help Pages

this.path-package Get Executing Script's Path, from 'Rgui', 'RStudio', 'VSCode', 'source()', and 'Rscript' (Shells Including Windows Command Line / / Unix Terminal)
Args Providing Arguments to a Script
as.rel.path Make a Path Relative to Another Path
as.relative.path Make a Path Relative to Another Path
asArgs Providing Arguments to a Script
basename2 Manipulate File Paths
check.dir Check 'this.path()' is Functioning Correctly
check.path Check 'this.path()' is Functioning Correctly
dirname2 Manipulate File Paths
ext File Extensions
ext<- File Extensions
fileArgs Providing Arguments to a Script
from.shell Top-Level Code Environment
getinitwd Get Initial Working Directory
here Construct Path to File, Beginning with 'this.dir()'
ici Construct Path to File, Beginning with 'this.dir()'
initwd Get Initial Working Directory
inside.source Implement 'this.path()' For Arbitrary 'source'-Like Functions
is.main Top-Level Code Environment
LINENO Line Number of Executing Script
normalized.shFILE Defunct Functions in Package 'this.path'
OS.type Detect the Operating System Type
path.join Construct Path to File
progArgs Providing Arguments to a Script
R.from.shell Using R From a Shell
relpath Make a Path Relative to Another Path
removeext File Extensions
set.this.path Implement 'this.path()' For Arbitrary 'source'-Like Functions
shFILE Get Argument 'FILE' Provided to R by a Shell
splitext File Extensions
Sys.dir Determine Executing Script's Filename
Sys.path Determine Executing Script's Filename
Sys.putenv Set Environment Variables
this.dir Determine Executing Script's Filename
this.dir2 Defunct Functions in Package 'this.path'
this.dir3 Defunct Functions in Package 'this.path'
this.path Determine Executing Script's Filename
this.path-defunct Defunct Functions in Package 'this.path'
this.path2 Defunct Functions in Package 'this.path'
this.proj Construct Path to File, Beginning with Your Project Directory
tryCatch2 Condition Handling and Recovery
withArgs Providing Arguments to a Script
wrap.source Implement 'this.path()' For Arbitrary 'source'-Like Functions