A filesystem path made safe to interpolate into an R string literal: backslashes become forward slashes
(which R accepts on every OS), so a Windows path like C:\tmp\x.R does not turn \t, \x, ... into R
escape sequences. A thin alias of toPosixPath for use wherever a path is embedded in R code.
Type Declaration
(p:string):string
A path with backslashes rewritten to forward slashes, i.e. POSIX form. R accepts these on every OS, so this is
also how a filesystem path is made safe to interpolate into an R string literal (where a raw `` would escape).
A filesystem path made safe to interpolate into an R string literal: backslashes become forward slashes (which R accepts on every OS), so a Windows path like
C:\tmp\x.Rdoes not turn\t,\x, ... into R escape sequences. A thin alias of toPosixPath for use wherever a path is embedded in R code.