R package to open the current working directory (or a given directory path) in your computer’s file manager.
The package may be installed on any version of R since 2.13.0, (coinciding with the migration of the normalizePath()
function from the utils package to the base package). Technically, for versions 2.13.0 > R ≥ 2.1.0 the package may still be installed if the end user was to: checkout the Git repository, remove the line containing “Depends: R (>= 2.13)
” from the DESCRIPTION file, add a line to the DESCRIPTION file containing “Imports: utils
”, and add a line to the NAMESPACE file containing “importsFrom(utils, normalizePath)
”.
You can install a stable version of the package from CRAN with:
install.packages("owd")
Alternatively, you can install the latest development version from GitHub with:
if (!{'remotes' %in% installed.packages()}) install.packages('remotes')
remotes::install_github('Feakster/owd')
Some simple use cases:
## Load package namespace
library(owd)
## Open current working directory
owd()
## Open a directory ('foo') using a relative path
owd('foo') # or...
owd('./foo')
## Making use of tilde expansion
owd('~/foo')
See Issues on the owd GitHub repository.