Learn R Programming

svMisc (version 0.9-46)

Sys.userdir: Get the user directory

Description

Sys.userdir() retrieves the current user directory.

Usage

Sys.userdir()

Arguments

Value

  • A string with the path to the user directory

See Also

Sys.tempdir

Examples

Run this code
Sys.userdir()

Run the code above in your browser using DataLab