Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/BioGeoBEARS_generics_v1.R
Shortcut for: gsub(pattern="//", replacement="/",
x=tmpstr)
1 | slashslash(tmpstr)
|
tmpstr |
a path that you want to remove double slashes from |
This function is useful for removing double slashes that can appear in full pathnames due to inconsistencies in trailing slashes in working directories etc.
outstr a string of the fixed path
Nicholas J. Matzke matzke@berkeley.edu
1 2 3 4 | tmpstr = "/Library/Frameworks//R.framework/Versions/"
outstr = slashslash(tmpstr)
outstr
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.