fileman_up | R Documentation |
Searches for a specific file or folder, starting from the start
directory and sequentially climbing up one directory level at a time.
The first match causes this sequence to stop
and the full path will be returned.
fileman_up(name, start = ".", levels = 10)
name |
Name of file or folder to search for. An exact match is needed. The matching is case sensitive. |
start |
String. Directory to start searching from. |
levels |
Integer.
How many levels to sequentially climb up in the file hierarchy,
if the file or folder is not found in the |
Symbolic links are matched, and in the returned path they are converted.
The path to the specified folder or file (string), or NULL
if
not found.
Other functions regarding file management for N2KHAB projects:
checksum()
,
download_zenodo()
,
fileman_folders()
,
locate_n2khab_data()
## Not run:
fileman_up("n2khab_data")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.