This function checks if the specified files or directories exist and returns
a logical vector indicating their existence, similar to Python's
pathlib.Path.exists() method.
This function checks if the specified files or directories exist and returns
a logical vector indicating their existence, similar to Python's
pathlib.Path.exists() method.