Learn R Programming

this.path (version 1.2.0)

getinitwd: Get Initial Working Directory

Description

getinitwd returns an absolute filepath representing the working directory at the time of loading this package.

Usage

getinitwd()
initwd

Arguments

Value

getinitwd returns a character string or NULL if the working directory is not available.

Examples

Run this code
cat("initial working directory:\n")
getinitwd()

cat("current working directory:\n")
getwd()

Run the code above in your browser using DataLab