ParseFullFilePath | R Documentation |
Constructs a full file path by combining a path, file name, and extension. It applies string clean-up operations to each component and ensures proper formatting.
ParseFullFilePath(path, file_name, extension)
path |
The directory path. If not provided, only file name and extension are used. Default: NULL. |
file_name |
The name of the file. Clean-up operations are applied to remove special characters and repeated dots. Default: Empty string. |
extension |
The file extension. If provided, it is appended to the file name with a preceding dot. Clean-up operations remove any initial dots. Default: NULL. |
A string representing the full file path.
ParseFullFilePath(path = "home/user/docs/", file_name = "report@final", extension = ".txt")
ParseFullFilePath(file_name = "report", extension = "txt")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.