Learn R Programming

BioGeoBEARS (version 0.2.1)

np: normalizePath shortcut

Description

Utility function that runs normalizePath. Useful for running on Mac vs. Windows.

Usage

np(path = path, ...)

Arguments

path
The path to run normalizePath on.
...
Additional arguments to normalizePath.

Value

path The path that was normalized.

References

http://phylo.wikidot.com/matzke-2013-international-biogeography-society-poster

Matzke_2012_IBS

See Also

normalizePath

Examples

Run this code
# Get a path
extdata_dir = np(system.file("extdata", package="BioGeoBEARS"))
extdata_dir

path = paste(extdata_dir, "//", "Psychotria_5.2.newick", sep="")
path

path = np(path)
path

Run the code above in your browser using DataLab