[Rd] dir.exists returns FALSE on Symlink directory
Dipterix Wang
d|pter|x@w@ng @end|ng |rom gm@||@com
Mon Jun 26 16:26:07 CEST 2023
I hope I'm not asking a stupid question... If I symlink a directory, is symlink considered as directory in R? If so, why `dir.exists` returns FALSE on directory?
I understand symlink is essentially a file, but functionally a symlink to directory is no different to the directory itself, but a directory is also essentially a file.
Is there any way that allow me to check if a symlink is linked to directory in base R, like `dir.exists(..., symlink_ok = TRUE)`?
Thanks,
Dipterix
More information about the R-devel
mailing list