Directory error at start up

rstudio

#1

Hi Everyone,
When I open RStudio 1.1.456 with R version 3.5.1 (2018-07-02), I get an error message

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

Does anyone know what this mean? I'm guessing it has something to do with the directories. Any ideas how can I fix it?
I will really appreciate any help or advice.


UNC pathway when downloading packages
#2

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

#3

I have managed to solve the problem myself, just in case future users have this problem, I will post my solution. Basically what happened was I was use to using ctrl+R when running a line of code, with the new RStudio version I modified the keyboard shortcut to what I'm use to. By changing back to Rstudio original setting, the error is now gone!