Rev Language Reference


getwd - Get and print the working directory

Get the current working directory which RevBayes uses.

Usage

getwd()

Arguments

Return Type

Example

# get the current working directory
getwd()

# let us set a new working directory
setwd("~/Desktop")

# check the working directory again
getwd()

See Also