View source: R/R02-Files_and_paths.R
camr_file_path | R Documentation |
Function to find the absolute path to a file given a partial match to its name.
camr_file_path(partial_name, env_variable = NULL, folder = NULL, latest = TRUE)
partial_name |
A character string, the file name or part of the file name that can uniquely identify it from other files. |
env_variable |
An optional character string, an environmental variable listed in a .env file loaded into the R environment via the dotenv package. If provided, will be used as the source folder assumed to contain the file. |
folder |
An optional character string, the
name of the folder (or part of the folder name
that can uniquely identify it) containing the
file. If the |
latest |
Logical; if |
A character string, an absolute path to a file.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.