rectify_path: converting backward slashes to forward slashes in the path...

Description Usage Arguments Value Examples

View source: R/helper.R

Description

When we construct relative path names in R using functions like normalizePath(), R outputs path names containing "backslashes", but we require path names containing forward slashes. correct_path \ function takes in a path name with backward slashes and converts it into a path name with forward slashes.

Usage

1
rectify_path(backward_slash_path)

Arguments

backward_slash_path

backward slash path

Value

forward_slash_path path with forward slashes

Examples

1
correct_path(backward_slash_path = "backward slash path")

AarshBatra/econR documentation built on Dec. 17, 2021, 6:45 a.m.