I have install rstan recently under windows 10 and R version 3.6.1. I have a problem in compiling and I always have the following:
DIAGNOSTIC(S) FROM PARSER:
Info: Comments beginning with # are deprecated. Please use // in place of # for line comments.
Error in compileCode(f, code, language = language, verbose = verbose) :
Compilation ERROR, function(s)/method(s) not created! Error in .shlib_internal(commandArgs(TRUE)) :
C++14 standard requested but CXX14 is not defined
Calls: -> .shlib_internal
In addition: Warning message:
In system(cmd, intern = !verbose) :
running command ‘C:/PROGRA~1/R/R-36~1.1/bin/x64/R CMD SHLIB file21c2f477968.cpp 2> file21c2f477968.cpp.err.txt’ had status 1
Error in sink(type = “output”) : invalid connection
I have read many discussions but none of them were helpful in overcoming my issue, it would be appreciated if anyone can help me.