Convert Slashes from UNIX to DOS
Convert slashes in a string from / to \\ if the operating system is windows. Do the reverse if the OS is unix.
convSlashes(expr, os=.Platform$OS.type, addQuotes=FALSE)
expr |
String value (usually a system pathway). |
os |
operating system (either |
addQuotes |
logical: if |
Returns the input string modified to have the appropriate slashes for the specified operating system.
Rowan Haigh, Pacific Biological Station, Fisheries and Oceans Canada, Nanaimo BC
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.