Convert windows file paths into R friendly ones. Not more not less.
You can install the released version of toWin from Github in R with the following line of code:
# install.packages("devtools")
devtools::install_github("EmanuelSommer/toWin")
Just type the following into the console and in no time you have the nice file path.
toWin::toWin()