Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- move_file <- function(from, to) {
- todir <- dirname(to)
- if (!isTRUE(file.info(todir)$isdir)) dir.create(todir, recursive=TRUE)
- file.rename(from = from, to = to)
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement