←back to thread

193 points lnyan | 2 comments | | HN request time: 0.001s | source
Show context
These335 ◴[] No.42159921[source]
I tried to follow along with the textbook before but really struggled with the practical side - R is just another world in terms of dependency management and organisation/documentation (compared to python at least). The book had me install some version of a library that was since unsupported. So I thought I would be a nerd and do everything in python instead, but there I had other problems installing pymc. After some hours of failing I just gave up. Can anyone speak to the state of the dependencies in this edition? Has everything been updated? Versions listed? Would love to give this another shot
replies(7): >>42159993 #>>42160336 #>>42160856 #>>42161895 #>>42162990 #>>42165079 #>>42169866 #
1. laichzeit0 ◴[] No.42161895[source]
I happened to install everything two days ago. R version 4.3.3 (I use RSwitch to switch between R versions on Mac). You should use REnv for dependency management. There were no problems installing the rethinking package, the Cmdrstan package just needed to be installed with devtools instead of install.packages.

I’m mostly a Python guy, and didn’t find it particularly hard to get this going. Although I’m always left scratching my head when using RStudio/Renv/R. It’s such a horrible environment (always hanging, crashing, slow, the tooling sucks ass). I refuse to believe that I’m the only person who has RStudio hang and require a restart or get stuck on some uninterruptible process and requires forcing killing it at least once a day.

replies(1): >>42162252 #
2. kuhewa ◴[] No.42162252[source]
> require a restart or get stuck on some uninterruptible process and requires forcing killing it at least once a day.

Yes, I think I've been trained by crashes to subconsciously limit interactions with the RStudio GUI while something is running, e.g resizing a window seems to be surefire way to cause a crash.