> readLines("~/.R/Makevars.win") Error in file(con, "r") : cannot open the connection In addition: Warning message: In file(con, "r") :

Hello,

I installed R4.2.2 and I got this error. I tried to fix my errors with others threads but I failed.

Sys.getenv(“BINPREF”)
[1] “”
Sys.getenv(“PATH”)
[1] “C:\R\rtools42\x86_64-w64-mingw32.static.posix\bin;C:\R\rtools42\usr\bin;C:\R\R-4.2.2\bin\x64;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\iCLS;C:\Program Files\Intel\Intel(R) Management Engine Components\iCLS;C:\Windows\System32;C:\Windows;C:\Windows\System32\wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\WiFi\bin;C:\Program Files\Common Files\Intel\WirelessCommon;C:\R\rtools42\usr\bin;C:\Users\user\AppData\Local\Microsoft\WindowsApps;C:\R\rtools42\usr\bin;;C:\R\RStudio\resources\app\bin\quarto\bin”
readLines(“~/.R/Makevars.win”)
Error in file(con, “r”) : cannot open the connection
In addition: Warning message:
In file(con, “r”) :
cannot open file ‘C:/Users/user/OneDrive/문서/.R/Makevars.win’: No such file or directory
readLines(“~/.Rprofile”)
Error in file(con, “r”) : cannot open the connection
In addition: Warning message:
In file(con, “r”) :
cannot open file ‘C:/Users/user/OneDrive/문서/.Rprofile’: No such file or directory

Thank you in advance,