UNC pathway when downloading packages

Error Information:

Trying to download packages and build packages via Rtools34 and I keep getting errors

'\uni.network\filestore\MyFiles\Staff2\ew18103\Documents\R'
CMD.EXE was started with the above path as the current directory.
UNC paths are not supported. Defaulting to Windows directory.
Error: '\R' is an unrecognized escape in character string starting ""c:\R"
Execution halted
In R CMD INSTALL

and I get similar error message when I start up RStudio

Error: '\R' is an unrecognized escape in character string starting ""c:\R"

but according to https://support.rstudio.com/hc/en-us/articles/203775903-Fixing-startup-error-where-manipulate-and-rstudio-packages-will-not-install-with-networked-drives
I shouldn't have this problem, where have I went wrong?

System Information:

  • RStudio Edition: Desktop
  • RStudio Version: Version 1.1.456
  • OS Version: Windows 7
  • R Version: 3.5.0

A post was merged into an existing topic: Directory error at start up