<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:MinionPro-Regular-Identity-H;
panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>Dear all,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I found a solution to my problem with the installation of ‘rethinking’. <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I got held back at: <o:p></o:p></p><p class=MsoNormal>install.packages("jsonlite", type = "source")<o:p></o:p></p><p class=MsoNormal>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.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>When installing ‘rethinking’ package I had to install shape manually. <span lang=PL>I used:<o:p></o:p></span></p><p class=MsoNormal><span lang=PL>install.packages(c("mvtnorm","loo","coda"), repos="https://cloud.r-project.org/",dependencies=TRUE)<o:p></o:p></span></p><p class=MsoNormal>options(repos=c(getOption('repos'), rethinking='http://xcelab.net/R'))<o:p></o:p></p><p class=MsoNormal>install.packages('shape', dependencies = TRUE)<o:p></o:p></p><p class=MsoNormal>install.packages('rethinking',type='source')<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I hope this helps someone.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Best<o:p></o:p></p><p class=MsoNormal>Patrycja<o:p></o:p></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b>From:</b> Mitarbeiter.zoologie <mitarbeiter.zoologie-bounces@lists.uni-halle.de> <b>On Behalf Of </b>Antonella Soro<br><b>Sent:</b> Wednesday, January 19, 2022 5:28 PM<br><b>To:</b> mitarbeiter.zoologie@lists.uni-halle.de<br><b>Subject:</b> [Mitarbeiter.zoologie] downloading 'rethinking'<o:p></o:p></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>dear statistical re-thinkers,<o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>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.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>i have then tried this code:<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><div><p class=MsoNormal>install.packages(c("mvtnorm","loo","coda"), repos="<a href="https://cloud.r-project.org/">https://cloud.r-project.org/</a>",dependencies=TRUE)<o:p></o:p></p></div><div><p class=MsoNormal>options(repos=c(getOption('repos'), rethinking='<a href="http://xcelab.net/R">http://xcelab.net/R</a>'))<o:p></o:p></p></div><div><p class=MsoNormal>install.packages('rethinking',type='source’)<o:p></o:p></p></div></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>which worked for me<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>hopefully you won’t have any problem with the installation of 'rethinking'. but please remember that, as the book said: “<span style='font-family:"MinionPro-Regular-Identity-H",serif'>You should install </span><span style='font-size:9.0pt'>rstan </span><span style='font-family:"MinionPro-Regular-Identity-H",serif'>first.</span>”<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>have a good evening<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>antonella<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div></div></body></html>