Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

help to run stan_surv in rstanarm #602

Open
sandravelazco opened this issue Sep 29, 2023 · 2 comments
Open

help to run stan_surv in rstanarm #602

sandravelazco opened this issue Sep 29, 2023 · 2 comments

Comments

@sandravelazco
Copy link

Summary:

I could not install the survival branch of rstanarm on Windows and Mac, I need help to run my analysis.

Description:

Has somebody installed the survival branch in his/her Windows or Mac? I would like to know if someone can help me to run my analysis, which is part of my doctoral thesis. I have the R script; it does not take really a long time (around one hour). I ran my model in the past, but after updating the rstanarm, I have struggled to run it again. I look for information in the stan forum and GitHub to follow discussions and advice to try reinstalling the survival branch using previous releases of R 4.0.2, 4.0.5, and rstanarm 2.21.1, 2.21.3. in Windows 10, 11, and different Macs, but without success. I would really appreciate in case someone could help me, please.

RStanARM Version:

2.21.1, 2.21.3

R Version:

R 4.0.2, 4.0.5

@vegetableAndy
Copy link

I also can’t run stan_surv in rstanarm, R reminds me that there is no stan_surv function. Then I found that the stan_surv() function is only available if you install rstanarm from the feature/survival branch on GitHub, I tryed to do so, but an Error occurred during installation, like this:
Warning messages:
1: In utils::untar(tarfile, ...) :
‘tar.exe -xf "C:\Users\DELL\AppData\Local\Temp\RtmpoRYmVb\file25f065f2420.tar.gz" -C
"C:/Users/DELL/AppData/Local/Temp/RtmpoRYmVb/remotes25f06a532e08"’ returned error code 1
2: In i.p(...) :
installation of package‘C:/Users/DELL/AppData/Local/Temp/RtmpoRYmVb/file25f01e94374/rstanarm_2.32.1.tar.gz’had non-zero exit status
Has anyone encountered the same issue and resolved it? Could you please help me? I would greatly appreciate it for that!

@sandravelazco
Copy link
Author

My friend installed it in Linux, try to do that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants