# Often: task.home()
task.home(fname)
task.home
returns the path of the current task. With a filename argument, the filename is interpreted as relative to the current task, and its full (non-relative) path is returned.
task.home
is almost obsolete in R, since the working directory tracks the current task. It is more important in the S+ version of mvbutils
.cd
, getwd
, file.path
task.home( "myfile.c") # probably the same as file.path( getwd(), "myfile.c")
task.home() # probably the same as getwd()
Run the code above in your browser using DataLab