我在尝试使用 Windows 7(64 位)在运行 R(版本 3.0.1)的服务器上安装 rstan 时遇到问题。我安装了 Rcpp 和内联,我得到了"* DONE (rstan)"
. 但是,当我跑步时
fit <- stan(model_code = schools_code, data = schools_dat,iter = 1000, chains = 4)
我收到以下错误:
Erreur dans compileCode(f, code, language = language, verbose = verbose) :
Compilation ERROR, function(s)/method(s) not created! cygwin warning:
MS-DOS style path detected: C:/PROGRA~1/R/R-30~1.2/etc/x64/Makeconf
Preferred POSIX equivalent is: /cygdrive/c/PROGRA~1/R/R-30~1.2/etc/x64/Makeconf
CYGWIN environment variable option "nodosfilewarning" turns off this warning.
De plus : Message d'avis :
l'exécution de la commande 'C:/PROGRA~1/R/R-30~1.2/bin/x64/R CMD SHLIB file16bc2e56893.cpp 2> file16bc2e56893.cpp.err.txt' renvoie un statut 1
你们中有人知道该怎么做吗?