Description Usage Arguments Value Examples
View source: R/RepoFileVersion.R
RepoFileVersion
returns the index number of the last version of a file in an
input directory.
This function searches in the input directory Path
the last version of the input file name
FileNamePattern
and returns the corresponding index number of such version.
This function is thought for files whose names has a suffix with the version corresponding to its contents (either definitive or partial version).
1 | RepoFileVersion(Path, FileNamePattern)
|
Path |
Character vector of length 1 with the path of the search directory. |
FileNamePattern |
Character vector of length 1 with the name of the file whose last version is queried. |
Integer vector of length 1 expressing the last version index number of the input file name in the input search directory.
1 2 3 4 5 6 | ## Not run:
RepoFileVersion('T:/E30183', 'FF_V1.MM122014')
RepoFileVersion('T:/E30183', 'FT_V1.MM122016')
RepoFileVersion('T:/E30183', 'FT_V1.MM122016')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.