View source: R/randomiseFiles.R
Copy a set of files with a randomised order.
1 2 | randomiseFiles(path, output, recursive = TRUE,
sub.dir = TRUE, extension = "WAV", min.difference = 5)
|
path |
the path of the directory with the files. Either an absolute path or relative to the working directory. If missing a dialog box will one where must choose a file within the directory. |
output |
the path of the directory were the new files should be placed. Either an absolute path or relative to the working directory. If missing a dialog box will one where must choose a file within the directory. |
extension |
which file extension should be used? Defaults to 'WAV'. File extensions are not case sensitive. |
recursive |
should all subdirectories be processed as well? Defaults to TRUE. |
sub.dir |
Process the files per subdirectory? Defaults to TRUE |
min.difference |
the minimal difference between two timestamps in seconds. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.