When called out of RStudio API or per Source sets the working directory to the current directory. If called from console nothing happens.

set.wd.current()

Value

-