np: normalizePath shortcut

Description Usage Arguments Value Note Author(s) References See Also Examples

View source: R/BioGeoBEARS_generics_v1.R

Description

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

Usage

1
  np(path = path, ...)

Arguments

path

The path to run normalizePath on.

...

Additional arguments to normalizePath.

Value

path The path that was normalized.

Note

Go BEARS!

Author(s)

Nicholas J. Matzke [email protected]

References

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

Matzke_2012_IBS

See Also

normalizePath

Examples

1
2
3
4
5
6
7
8
9
# 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

BioGeoBEARS documentation built on May 29, 2017, 8:36 p.m.