Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Expanding short names for non 8dot3 directory paths to long name

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.

like image 246
Jeff Avatar asked Sep 14 '09 23:09

Jeff


1 Answers

The normalizePath function will turn short names into long names:

This converts relative paths to absolute paths, and converts short names to long names.

like image 152
Mark Rushakoff Avatar answered Sep 28 '22 08:09

Mark Rushakoff