I am trying to install rstan on R 3.1.0 (using a mac). I have tried to do what is documented on the github page but it tells me that rstan won't work on R 3.1.0. The github page indicates that you just need to be using anything higher than R 3.0.2, so that doesn't really make sense to me. I have read the other threads here on this issue and have tried to use the approaches indicated but they wont work either.
install.packages("rstan", type = "source")
installation of package ‘RcppEigen’ had non-zero exit status
I'll try and install RccpEigen on it's own and then try rstan. If it helps, here was what the error about it said:
ld: warning: directory not found for option '-L/usr/local/lib/gcc/i686-apple-darwin8/4.2.3/x86_64'
ld: warning: directory not found for option '-L/usr/local/lib/x86_64'
ld: warning: directory not found for option '-L/usr/local/lib/gcc/i686-apple-darwin8/4.2.3'
ld: library not found for -lgfortran
collect2: ld returned 1 exit status
make: *** [RcppEigen.so] Error 1
ERROR: compilation failed for package ‘RcppEigen’
cat(readLines("~/.R/Makevars"), sep = "\n")
--
You received this message because you are subscribed to the Google Groups "Stan users mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to stan-users+...@googlegroups.com.
To post to this group, send email to stan-...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
rstan and StanHeaders are listed as "Reverse suggests". How
does "suggests" differ from "depends" and "imports", which are
listed separately?