[Mitarbeiter.zoologie] downloading 'rethinking'

Patrycja patrycjaa.pluta at gmail.com
Mo Jan 24 17:34:41 CET 2022


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

 

 

 

-------------- nächster Teil --------------
Ein Dateianhang mit HTML-Daten wurde abgetrennt...
URL: <http://lists.uni-halle.de/pipermail/mitarbeiter.zoologie/attachments/20220124/fe5c14f3/attachment.html>


Mehr Informationen über die Mailingliste Mitarbeiter.zoologie