powered by
If the directory path starts with a forward slash, then it is set from the WebDAV's root directory. Otherwise it's set in the current directory.
wd_setwd(req, directory)
modified request
request handle obtained from wd_connect
wd_connect
WebDAV directory
If the directory does not exist, then the request is not modified.
Notice: One has to (re)assign the returned request, as it is not modified in place.
if (FALSE) { req <- wd_setwd(req, "/maindir") req <- wd_setwd(req, "subdir") req <- wd_setwd(req, "/othermain") }
Run the code above in your browser using DataLab