R package of utilities for handling paths, files and directories
To install, you first need the devtools package.
Then you can install the pathological package using
decompose_path splits a path into a directory name, file name (without
extension), and a file extension.
recompose_path reverses the effects of
replace_extension allow manipulation
of file extensions. They are smart enough to deal with double extensions like
get_drive returns the drive name of the path.
copy_dir copies the contents of a directory.
standardise_path, for British English fans) is a
base::normalizePath that standardizes the form of a path, to make
them more easily comparable. You can choose whether you want back or forward
slashes, and the inputs paths are given as names.
standardized versions of the similarly named base R functions.
os_path returns the operating system
PATH environment variable as a
character vector of stanardized paths.
cygwinify_path makes paths suitable for use with cygwin.
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.