PHP vs R: What are the differences?
PHP: A popular general-purpose scripting language that is especially suited to web development. Fast, flexible and pragmatic, PHP powers everything from your blog to the most popular websites in the world; R: A language and environment for statistical computing and graphics. R provides a wide variety of statistical (linear and nonlinear modelling, classical statistical tests, time-series analysis, classification, clustering, ...) and graphical techniques, and is highly extensible.
PHP and R can be categorized as "Languages" tools.
"Large community" is the primary reason why developers consider PHP over the competitors, whereas "Data analysis " was stated as the key factor in picking R.
PHP is an open source tool with 23.9K GitHub stars and 5.53K GitHub forks. Here's a link to PHP's open source repository on GitHub.
9GAG, Hootsuite, and 37 Signals are some of the popular companies that use PHP, whereas R is used by AdRoll, Instacart, and Verba. PHP has a broader approval, being mentioned in 8904 company stacks & 2933 developers stacks; compared to R, which is listed in 128 company stacks and 97 developer stacks.