https://github.com/stan-dev/rstanarm/archive/master.zip # Windows
https://github.com/stan-dev/rstanarm/archive/master.tar.gz # !Windows
--
You received this message because you are subscribed to the Google Groups "stan development mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to stan-dev+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
I'm using the r package installer and getting this error:
2: In install.packages(file.choose(), "/Users/Peter/rstanarm", NULL, :
installation of package ‘/Users/Peter/rstanarm/rstanarm.tar.gz’ had non-zero exit status
goodrich@CYBERPOWERPC:/tmp$ R CMD INSTALL rstanarm.tar.gz
Warning in untar2(tarfile, files, list, exdir, restore_times) :
skipping pax global extended headers
* installing to library ‘/opt/site-library’
* installing *source* package ‘rstanarm’ ...
** R
** exec
** preparing package for lazy loading
TRANSLATING MODEL 'Gaussian GLM' FROM Stan CODE TO C++ CODE NOW.
COMPILING THE C++ CODE FOR MODEL 'Gaussian GLM' NOW.
Error : variable does not exist; processing stage=data initialization; variable name=N; base type=int
failed to create the sampler; sampling not done
TRANSLATING MODEL 'Discrete GLM' FROM Stan CODE TO C++ CODE NOW.
COMPILING THE C++ CODE FOR MODEL 'Discrete GLM' NOW.
Error : variable does not exist; processing stage=data initialization; variable name=N; base type=int
failed to create the sampler; sampling not done
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
* DONE (rstanarm)
goodrich@CYBERPOWERPC:/tmp$ echo $?
0
I get this error:
Error in untar2(tarfile, files, list, exdir) : unsupported entry type ‘g’
I'm not sure what version of tar I have but that seemed to have worked. Thanks. I'll let you know which models (if any) can't be run with rstanarm.
You need rstan first
https://code.google.com/p/stan/wiki/RStanGettingStarted
Ben
On Thu, Jul 25, 2013 at 1:12 PM, Peter Li <li.pe...@gmail.com> wrote:
Just kidding.. Now it says there's something missing.
Cloning into 'rstanarm'...
remote: Counting objects: 24, done.
remote: Compressing objects: 100% (16/16), done.
remote: Total 24 (delta 3), reused 18 (delta 3)
Unpacking objects: 100% (24/24), done.
Chinese-Secret-Service-Van-4:~ Peter$ R CMD INSTALL rstanarm/
* installing to library �/Library/Frameworks/R.framework/Versions/2.15/Resources/library�
* installing *source* package �rstanarm� ...
** R
** exec
** preparing package for lazy loading
Warning: package �Rcpp� was built under R version 2.15.3
*** arch - i386
TRANSLATING MODEL 'Gaussian GLM' FROM Stan CODE TO C++ CODE NOW.
COMPILING THE C++ CODE FOR MODEL 'Gaussian GLM' NOW.
Error : variable does not exist; processing stage=data initialization; variable name=N; base type=int
failed to create the sampler; sampling not done
TRANSLATING MODEL 'Discrete GLM' FROM Stan CODE TO C++ CODE NOW.
COMPILING THE C++ CODE FOR MODEL 'Discrete GLM' NOW.
Error : variable does not exist; processing stage=data initialization; variable name=N; base type=int
failed to create the sampler; sampling not done
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
Error : package �rstan� is not installed for 'arch=i386'
Error: loading failed
Execution halted
*** arch - x86_64
Warning: package �Rcpp� was built under R version 2.15.3
ERROR: loading failed for �i386�
* removing �/Library/Frameworks/R.framework/Versions/2.15/Resources/library/rstanarm�
On 7/25/13 1:09 PM, Peter Li wrote:
I'm not sure what version of tar I have but that seemed to have worked. Thanks. I'll let you know which models (if any) can't be run with rstanarm.
Peter
On 7/25/13 1:07 PM, Ben Goodrich wrote:
On Thursday, July 25, 2013 1:04:07 PM UTC-4, Peter Li wrote:
I get this error:
Error in untar2(tarfile, files, list, exdir) : unsupported entry type �g�
I have rstan installed. Do I need to have the version in the develop repo?
No, actually I think it should only work if you have rstan 1.3 installed, which R complained about
** testing if installed package can be loaded
*** arch - i386
Error : package �rstan� is not installed for 'arch=i386'
Error: loading failed
Execution halted
*** arch - x86_64
Warning: package �Rcpp� was built under R version 2.15.3
ERROR: loading failed for �i386�
export R_ARCH='/x86_64'
or something.
As for the wiki, I also made one on the stan page to list all of the model code that we have (https://github.com/stan-dev/stan/wiki/ARM-Models). I'll be sure to link the two.
library(devtools)
install_github("rstanarm","stan-dev")
install.packages('rstan', type = 'source', INSTALL_opts = "--merge-multiarch")