nat.utils: File System Utility Functions for 'NeuroAnatomy Toolbox'
Version 0.5.1

Utility functions that may be of general interest but are specifically required by the 'NeuroAnatomy Toolbox' ('nat'). Includes functions to provide a basic make style system to update files based on timestamp information, file locking and 'touch' utility. Convenience functions for working with file paths include 'abs2rel', 'split_path' and 'common_path'. Finally there are utility functions for working with 'zip' and 'gzip' files including integrity tests.

Browse man pages Browse package API and functions Browse package files

AuthorGregory Jefferis
Date of publication2015-07-04 15:24:37
MaintainerGregory Jefferis <jefferis@gmail.com>
LicenseGPL-3
Version0.5.1
Package repositoryView on CRAN
InstallationInstall the latest version of this package by entering the following in R:
install.packages("nat.utils")

Man pages

abs2rel: Remove common part of two paths, leaving relative path
common_path: Find common prefix of two or more (normalised) file paths
file.swap: Swap names of two files (by renaming first to a temporary...
gzip.crc: Extract the CRC (32 bit hash) of a gzip file
is.gzip: Check if a file is a gzip file
makelock: Make and remove (NFS safe) lock files
nat.utils: nat.utils: File System Utility Functions for NeuroAnatomy...
nat.utils-defunct: nat.utils: Defunct functions
ncpus: Return number of cpus (or a default on failure)
RunCmdForNewerInput: Run a command if input files are newer than outputs
split_path: Split file path into individual components (optionally...
touch: Use unix touch utility to change file's timestamp
zipinfo: Return information about a zip archive using system unzip...
zipok: Verify integrity of one or more zip files

Functions

RunCmdForNewerInput Man page Source code
abs2rel Man page Source code
common_path Man page Source code
file.hardlink Man page Source code
file.swap Man page Source code
gzip.crc Man page Source code
is.gzip Man page Source code
makelock Man page Source code
nat.utils Man page
nat.utils-defunct Man page
nat.utils-package Man page
ncpus Man page Source code
removelock Man page Source code
split_path Man page Source code
touch Man page Source code
unzip Source code
zipinfo Man page Source code
zipok Man page Source code

Files

tests
tests/testthat.R
tests/testthat
tests/testthat/test-ziputils.r
tests/testthat/test-sysutils.R
tests/testthat/test-gziputils.r
tests/testthat/test-fsutils.r
tests/testthat/testdata
tests/testthat/testdata/hello.gz
tests/testthat/testdata/sample-spaces.zip
tests/testthat/testdata/sample-onefile.zip
tests/testthat/testdata/sample.zip
tests/testthat/test-make.r
NAMESPACE
NEWS
R
R/sysutils.r
R/gziputils.r
R/make.r
R/fsutils.r
R/nat.utils-package.r
R/ziputils.r
R/filelocks.r
README.md
MD5
DESCRIPTION
man
man/gzip.crc.Rd
man/file.swap.Rd
man/ncpus.Rd
man/touch.Rd
man/zipinfo.Rd
man/is.gzip.Rd
man/abs2rel.Rd
man/makelock.Rd
man/RunCmdForNewerInput.Rd
man/common_path.Rd
man/split_path.Rd
man/nat.utils-defunct.Rd
man/zipok.Rd
man/nat.utils.Rd
nat.utils documentation built on May 29, 2017, 11:48 a.m.