Depending on logname (linux), a path is defined. If what is mentionned, it is appended through file.path.

define_path(what, who = system("logname", intern = TRUE))

Arguments

what

character, some local paths to be specified.

who

character, typically result of logname.

Value

Character, path.

Author

Frédéric Grelot

Examples


if (FALSE) {
define_path("toto") 
define_path("floodam", "toto")
}