Hello:
1. First, thank you for developing stan --- it's making a big difference in my work.
2. I'm upgrading from version 2.3 to version 2.5, using the instructions "RStan Getting Started". The installation goes well until I get the following
Attaching package: ‘Rcpp’
The following object is masked from ‘package:inline’:
registerPlugin
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.
Consult the user's guide for more details about POSIX paths:
http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
Warning in install.packages :
InternetOpenUrl failed: 'The operation timed out'
Warning in install.packages :
InternetOpenUrl failed: 'The operation timed out'
Warning in install.packages :
unable to access index for repository http://rstan.org/repo/bin/windows/contrib/3.0
Installing package into ‘C:/Users/ellefsen/Documents/R/win-library/3.0’
(as ‘lib’ is unspecified)
Warning in install.packages :
InternetOpenUrl failed: 'The operation timed out'
Warning in install.packages :
InternetOpenUrl failed: 'The operation timed out'
Warning in install.packages :
unable to access index for repository http://rstan.org/repo/src/contrib
Warning in install.packages :
package ‘rstan’ is not available (for R version 3.0.2)
Error in library(rstan) : there is no package called ‘rstan’
In addition: Warning message:
package ‘inline’ was built under R version 3.0.3
If I understand correctly, the problem is with the following code from function "install_rstan":
options(repos = c(getOption("repos"), rstan = "http://rstan.org/repo/"))install.packages("rstan", type = 'source')
That is, function install.packages is unable to find http://rstan.org/repo/. As requested, here is the session info:
R version 3.0.2 (2013-09-25)
Platform: x86_64-w64-mingw32/x64 (64-bit)
locale:
[1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252
[3] LC_MONETARY=English_United States.1252 LC_NUMERIC=C
[5] LC_TIME=English_United States.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] Rcpp_0.11.3 inline_0.3.13
loaded via a namespace (and not attached):
[1] tools_3.0.2
3. Thank you for your help.
Karl Ellefsen