[Mitarbeiter.zoologie] downloading 'rethinking'
Simon Tragust
simon.tragust at zoologie.uni-halle.de
Di Jan 25 17:11:48 CET 2022
Dear Belinda
I first got a similar problem running exactly the same line of code but
telling me that I miss a package named "cmd_rstan..."
Unfortunately, I cannot re-trace the exact steps, but as far as I
remember I re-started R/rechecked the PATH instructions/made sure that
the Renvironment did not get in my way (according to the instructions on
the github page to the package rethinking).
Hope this helps.
Best
Simon
Am 25/01/2022 um 17:04 schrieb Belinda Kahnt:
> Dear Patrycja,
>
> thanks for that tip. I did not spot any error during the installing
> process (rstan and c-toolchain) but when I test Stan with the example
> data (or just try to put it into the library) I always get the
> following error:
> > example(stan_model, package = "rstan", run.dontrun = TRUE)Loading
> required package: StanHeadersLoading required package: ggplot2Fehler:
> package or namespace load failed for ‘rstan’: .onLoad failed in
> loadNamespace() for 'rstan', details: call: get_rng(0) error: Die
> Funktion 'Rcpp_precious_remove' wird nicht von Paket 'Rcpp'
> bereitgestellt Anyone else experiencing the same issue? Best, Belinda
>
>
>
> >>> "Patrycja" <patrycjaa.pluta at gmail.com> 01/24/22 5:41 PM >>>
>
> Dear all,
>
> I found a solution to my problem with the installation of ‘rethinking’.
>
> I got held back at:
>
> install.packages("jsonlite", type = "source")
>
> After getting an error running this line, I deleted my .RData file (in
> Documents folder) and deleted additional line of text that appeared in
> .Renviron. Then, jsonlite installation worked.
>
> When installing ‘rethinking’ package I had to install shape manually.
> I used:
>
> install.packages(c("mvtnorm","loo","coda"),
> repos="https://cloud.r-project.org/",dependencies=TRUE)
>
> options(repos=c(getOption('repos'), rethinking='http://xcelab.net/R'))
>
> install.packages('shape', dependencies = TRUE)
>
> install.packages('rethinking',type='source')
>
> I hope this helps someone.
>
> Best
>
> Patrycja
>
> *From:* Mitarbeiter.zoologie
> <mitarbeiter.zoologie-bounces at lists.uni-halle.de> *On Behalf Of
> *Antonella Soro
> *Sent:* Wednesday, January 19, 2022 5:28 PM
> *To:* mitarbeiter.zoologie at lists.uni-halle.de
> *Subject:* [Mitarbeiter.zoologie] downloading 'rethinking'
>
> dear statistical re-thinkers,
>
> i have tried to download the package ‘rethinking’, which we need for
> going through the statistical rethinking book, by using the
> instructions in the book, but i got several errors.
>
> i have then tried this code:
>
> install.packages(c("mvtnorm","loo","coda"),
> repos="https://cloud.r-project.org/",dependencies=TRUE)
>
> options(repos=c(getOption('repos'), rethinking='http://xcelab.net/R'))
>
> install.packages('rethinking',type='source’)
>
> which worked for me
>
> hopefully you won’t have any problem with the installation of
> 'rethinking'. but please remember that, as the book said: “You should
> install rstan first.”
>
> have a good evening
>
> antonella
>
>
> _______________________________________________
> Mitarbeiter.zoologie mailing list
> Mitarbeiter.zoologie at lists.uni-halle.de
> https://lists.uni-halle.de/cgi-bin/mailman/listinfo/mitarbeiter.zoologie
--
Simon Tragust MLU Halle General Zoology Hoher Weg 8 06120 Halle (Saale)
-------------- nächster Teil --------------
Ein Dateianhang mit HTML-Daten wurde abgetrennt...
URL: <http://lists.uni-halle.de/pipermail/mitarbeiter.zoologie/attachments/20220125/cfa6d238/attachment.html>
Mehr Informationen über die Mailingliste Mitarbeiter.zoologie