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
何をすべきか知っている人はいますか?