Rev Language Reference


setwd - Set and print the working directory

Set the current working directory which RevBayes uses.

Usage

setwd(String wd)

Arguments

wd : String (pass by value)
The new working directory.

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