The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

Version: 1.0.6
Date: 2020-08-04
Title: Open Working Directory
Description: Open the current working directory (or a given directory path) in your computer's file manager.
Depends: R (≥ 2.13)
Suggests: tinytest
License: MIT + file LICENSE
URL: https://github.com/Feakster/owd
BugReports: https://github.com/Feakster/owd/issues
Encoding: UTF-8
NeedsCompilation: no
Packaged: 2020-08-04 16:58:27 UTC; benjamin
Author: Benjamin G. Feakins ORCID iD [aut, cre], Benjamin J. Cairns ORCID iD [ctb], University of Oxford [cph, sht]
Maintainer: Benjamin G. Feakins <benjamin.feakins@ndph.ox.ac.uk>
Repository: CRAN
Date/Publication: 2020-08-05 09:40:03 UTC

Open Working Directory

Description

owd opens the current working directory (or a given directory path) in your computer's file manager.

Usage

owd(dir = '.')

Arguments

dir

A character string indicating a directory path. Defaults to '.', indicating the current working directory.

Value

owd does not return any value in R. However, it will return an error if a directory path is passed to it that does not exist, or that R does not have sufficient privledges to access.

Note

Tilde expansion (see path.expand) is performed on directory paths.

Author(s)

Benjamin G. Feakins, benjamin.feakins@ndph.ox.ac.uk

See Also

getwd for the path of the current working directory.

list.files for the contents of a directory.

Examples

if (interactive()) {
## Open current working directory
owd()

## Open a directory using a relative path
owd('/usr/bin')

## Making use of tilde expansion to open the home directory
owd('~')
}

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.