Learn R Programming

filesstrings (version 0.4.0)

PutFilesInDir: Put files in a directory

Description

Move files to a directory, creating the directory if it does not already exist.

Usage

PutFilesInDir(file.names, dir.name)

Arguments

file.names

character vector of file names, relative or absolute paths

dir.name

The name of the directory into which to move the files, relative or absolute path

Value

A logical vector with a TRUE for each successful file move and a FALSE otherwise.