In R
on Windows
, tempdir()
returns a path that contains short names for non 8dot3 directory names
.
How do I expand those to long names?
An answer that uses pure R
code is favorable, but one that uses well-known shell commands used via system()
is fine as a backup.
The normalizePath function will turn short names into long names:
This converts relative paths to absolute paths, and converts short names to long names.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With