Hi,
I’m struggling with the cmd installations. The system I’m using is Windows 10. Below is the error messages I got. Could someone help me with that?
Compiling Stan program...
Error: CmdStan path has not been set yet. See ?set_cmdstan_path.
> install_cmdstan()
Error:
RTools installation found but PATH was not properly set.
Run check_cmdstan_toolchain(fix = TRUE) to fix the issue.
> check_cmdstan_toolchain(fix = TRUE)
Installing mingw32-make and writing RTools path to ~/.Renviron ...
Error in file(file, ifelse(append, "a", "w")) :
cannot open the connection
In addition: Warning message:
In file(file, ifelse(append, "a", "w")) :
cannot open file 'C:/Users/yueho/OneDrive/??/.Renviron': Invalid argument ```
I