Examples for 'utils::shortPathName'


Express File Paths in Short Form on Windows

Aliases: shortPathName

Keywords: utilities

### ** Examples

if(.Platform$OS.type == "windows") withAutoprint({

## No test: 
  cat(shortPathName(c(R.home(), tempdir())), sep = "\n")
## End(No test)
## Don't show: 
  cat(shortPathName(R.home()), sep = "\n")
## End(Don't show)
})

[Package utils version 4.2.3 Index]