Learn R Programming

quickcode (version 1.0.6)

lastwd: Go back to previous directory

Description

Navigate to previous working directory if the setwd was called by clean() or refresh() function

Usage

lastwd()

Arguments

Value

the previous directory

Examples

Run this code
lastwd()

Run the code above in your browser using DataLab