Sys.userdir() retrieves the current user directory.
Sys.userdir()
A string with the path to the user directory
Philippe Grosjean <phgrosjean@sciviews.org>
Sys.tempdir