forwardSlash: Replace backslash with forward slash

View source: R/forwardSlash.r

forwardSlashR Documentation

Replace backslash with forward slash

Description

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")


adamlilith/omnibus documentation built on June 10, 2025, 10:33 p.m.