powered by
Moves a file or directory on the server
wd_move(req, source, target, overwrite = TRUE)
TRUE on success, FALSE on failure (invisibly)
request handle obtained from wd_connect
wd_connect
path of the source on the server
path of the target on the server
overwrites files when TRUE (default)
if (FALSE) { wd_move(r, "testfile.R", "testfile_old.R") }
Run the code above in your browser using DataLab