Skip to contents

This function is helpful for Windows systems, where paths are usually expressed with left slashes, whereas R requires right slashes.

Usage

forwardSlash(x)

Arguments

x

A string.

Value

Character.

Examples


forwardSlash("C:\\ecology\\main project")
#> [1] "C:/ecology/main project"