Much of the ease of installing R its add-on packages is thanks to the CRAN infrastructure.
In addition, installing packages in R can be considerably simpler than in other languages. Both R the language and the thousands of published packages which extend its functionality for the most part work across the three platforms. R has very good support on the three main platforms: Linux, MacOS, and Windows. C.6.1 Iteration with functional programming.A.2.1 Installing R on a Mac via Homebrew.