Get Executing Script's Path


[Up] [Top]

Documentation for package ‘this.path’ version 2.3.0

Help Pages

this.path-package Get Script's Path
as.character.ThisPathDocumentContext Printing "ThisPathDocumentContext" Objects
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
check.proj Check 'this.path()' is Functioning Correctly
dirname2 Manipulate File Paths
ext File Extensions
ext<- File Extensions
FILE Macros in Package 'this.path'
fileArgs Providing Arguments to a Script
format.ThisPathDocumentContext Printing "ThisPathDocumentContext" Objects
from.shell Top-Level Code Environment
getinitwd Get Initial Working Directory
here Construct Path to File, Starting With Script's Directory
ici Construct Path to File, Starting With Script's Directory
init.file Get 'FILE' Provided to R by a Shell
initwd Get Initial Working Directory
is.main Top-Level Code Environment
last.condition Condition Handling and Recovery
LINE Macros in Package 'this.path'
LINENO Line Number of Executing Expression
OS.type Detect the Operating System Type
path.functions Constructs Path Functions Similar to 'this.path()'
path.join Construct Path to File
path.split Split File Path Into Individual Components
path.split.1 Split File Path Into Individual Components
path.unsplit Split File Path Into Individual Components
print.ThisPathDocumentContext Printing "ThisPathDocumentContext" Objects
progArgs Providing Arguments to a Script
rel2here Make a Path Relative to Another
rel2proj Make a Path Relative to Another
relpath Make a Path Relative to Another
removeext File Extensions
reset.proj Construct Path to File, Starting With Script's Directory
set.env.path Implement 'this.path()' For Arbitrary 'source()'-Like Functions
set.gui.path Declare GUI's Active Document
set.jupyter.path Declare Executing 'Jupyter' Notebook's Filename
set.src.path Implement 'this.path()' For Arbitrary 'source()'-Like Functions
set.sys.path Implement 'this.path()' For Arbitrary 'source()'-Like Functions
set.sys.path.function Implement 'this.path()' For Arbitrary 'source()'-Like Functions
set.sys.path.jupyter Declare Executing 'Jupyter' Notebook's Filename
shFILE Get 'FILE' Provided to R by a Shell
site.file Get 'FILE' Provided to R by a Shell
source.exprs Evaluate and Print Expressions
splitext File Extensions
Sys.putenv Set Environment Variables
sys.srcref Get 'srcref' From Call Stack
this.dir Determine Script's Filename
this.path Determine Script's Filename
this.proj Construct Path to File, Starting With Script's Directory
thisPathNotExistsError Declare GUI's Active Document
try.shFILE Attempt to Determine Script's Filename
try.this.path Attempt to Determine Script's Filename
tryCatch2 Condition Handling and Recovery
tryCatch3 Condition Handling and Recovery
unset.sys.path Implement 'this.path()' For Arbitrary 'source()'-Like Functions
withArgs Providing Arguments to a Script
with_init.file Implement 'this.path()' For Arbitrary 'source()'-Like Functions
with_site.file Implement 'this.path()' For Arbitrary 'source()'-Like Functions
with_sys.path Implement 'this.path()' For Arbitrary 'source()'-Like Functions
wrap.source Implement 'this.path()' For Arbitrary 'source()'-Like Functions