Learn R Programming

fs (version 1.0.0)

path_home: Paths starting from useful directories

Description

  • path_temp() starts the path with the session temporary directory

  • path_home() starts the path with the users home directory

Usage

path_home(...)

path_temp(...)

Arguments

...

Additional paths appended to the temporary directory by path().

Examples

Run this code
# NOT RUN {
path_home()
path_home("R")

path_temp()
path_temp("does-not-exist")
# }

Run the code above in your browser using DataLab