

To be on the safe side, it is sometimes necessary to remove any existing RStan via
remove.packages("rstan") if (file.exists(".RData")) file.remove(".RData")
Then, restart R.
If you are using R version 3.x on a Mac, go to here. Otherwise, you can usually simply type (exactly like this)
Sys.setenv(DOWNLOAD_STATIC_LIBV8 = 1) # only necessary for Linux without the nodejs library / headers install.packages("rstan", repos = "https://cloud.r-project.org/", dependencies = TRUE)
To verify your installation, you can run the RStan example/test model:
example(stan_model, package = "rstan", run.dontrun = TRUE)
*****
The model for the verification ran without any problems, but I am still getting this error when running any of the hbayesdm models:
Error in is.null(data) || is.na(data) : 'length = 60000' in coercion to 'logical(1)'
Any idea?
Thanks.
Franziska



--
You received this message because you are subscribed to the Google Groups "hbayesdm-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hbayesdm-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hbayesdm-users/e44ea387-afee-4b4f-b1c1-9cc7e40f2d10n%40googlegroups.com.
GREG FONZO, PhD
Assistant Professor
Co-Director, Center for Psychedelic Research and Therapy
Department of Psychiatry and Behavioral Sciences
Dell Medical School | The University of Texas at Austin
o: 512-495-5296 | gfo...@austin.utexas.edu | https://UTHealthAustin.zoom.us/my/gregfonzophd
Health Discovery Building (HDB)
1601 Trinity Street, Bldg. B, Z0600
Austin, TX 78712
https://sites.utexas.edu/fonzolab
https://dellmed.utexas.edu/units/center-for-psychedelic-research-and-therapy