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 RPath.of for use wherever a path is embedded in R code.
Type Declaration
(this:void,p:string):string
p with every backslash rewritten to a forward slash
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 RPath.of for use wherever a path is embedded in R code.