setwd2thisFile: Set working directory according to the file with this...

View source: R/setwd2thisFile.R

setwd2thisFileR Documentation

Set working directory according to the file with this function

Description

Set working directory to where the file that put this function located.

Usage

setwd2thisFile()

Value

the working directory before the change.

Examples

{
## Not run: 
# Put the following codes in one file and save.
getwd()
setwd2thisFile()
getwd()

## End(Not run)
}

paodan/funcTools documentation built on April 1, 2024, 12:01 a.m.