我在使用Windows 7(64位)在運行R(版本3.0.1)的服務器上安裝rstan時遇到問題。 我安裝了Rcpp和內聯,並且我得到了"* DONE (rstan)"
。然而,當我運行在Windows 7上的R和cygwin上安裝rstan時出錯
fit <- stan(model_code = schools_code, data = schools_dat,iter = 1000, chains = 4)
我得到followig錯誤:
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
任何你是否知道該怎麼辦?
嘗試詢問[stan用戶列表](https://groups.google.com/forum/#!forum/stan-users)? –
謝謝。我會嘗試 – lalloud