Learn R Programming

toscutil (version 2.8.0)

home: Get USERPROFILE or HOME

Description

Returns normalized value of environment variable USERPROFILE, if defined, else value of HOME.

Usage

home(winslash = "/")

Value

normalized value of environment variable USERPROFILE, if defined, else value of HOME.

Arguments

winslash

path separator to be used on Windows (passed on to normalizePath)

Examples

Run this code
home()

Run the code above in your browser using DataLab