getwd()
get_help() docs
The getwd() function comes with R and is part of the Base R {base} package.
We use this function to retrieve the working directory for an R session. The function does not requirement any arguments; simply ask R to tell you the working directory with this function.
getwd()