While setting up Rstudio for packages i get this error which reads:
Error in file(con, "w") : cannot open the connection
In addition: Warning message:
In file(con, "w") :
cannot open file 'C:/Users/DELL/Documents/.Renviron': No such file or directory
so how can i solve this problem, Please suggest !!
Can you provide more detailed steps to reproduce your issue? What specific command are you executing when you get this error message? Is this the complete message or you are omitting something?
I am a begginer and been trying to set up Rstudio with R 4.0.2.. during the course i have successfully installed and run rstudio but during final steps of setting using writeLines('PATH="${RTOOLS40_HOME}\\usr\\bin;${PATH}"', con = "~/.Renviron") command the error keeps popping up..
I have already setup path and there was no error using Sys.which("make") command.