@bgoodri That seems to have worked fine, installed with no errors. I was also able to download the Rcpp drat using:
install.packages("drat", repos="http://cran.rstudio.com")
and rstan seems to have installed just fine as well:
install.packages("rstan", type = "source")
installing to /Library/Frameworks/R.framework/Versions/3.6/Resources/library/00LOCK-rstan/00new/rstan/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
*** copying figures
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
- DONE (rstan)
The downloaded source packages are in
‘/private/var/folders/gq/9syhh2254tj34hcvb_rdplvm0000gn/T/RtmpiGqyzi/downloaded_packages’
However, I still get the error when running the stan()
function:
Error in dyn.load(libLFile) :
unable to load shared object ‘/var/folders/gq/9syhh2254tj34hcvb_rdplvm0000gn/T//RtmpiGqyzi/file2d6328fd3f5b.so’:
dlopen(/var/folders/gq/9syhh2254tj34hcvb_rdplvm0000gn/T//RtmpiGqyzi/file2d6328fd3f5b.so, 6): Library not loaded: /Library/Frameworks/R.framework/Versions/3.5/Resources/lib/libR.dylib
Referenced from: /private/var/folders/gq/9syhh2254tj34hcvb_rdplvm0000gn/T/RtmpiGqyzi/file2d6328fd3f5b.so
Reason: image not found