When comparing R vs APL, the Slant community recommends R for most people. In the question“What are the best (productivity-enhancing, well-designed, and concise, rather than just popular or time-tested) programming languages?” R is ranked 46th while APL is ranked 51st. The most important reason people chose R is:
There are lots of different packages available that can be easily searched from the CRAN repo site and downloaded, or installed via the R command line interface. These packages are easy to include in a project or source file, and pertain to a wide variety of topics, from classification, social media analysis, and text processing to interactive 3d plotting and networks (including neural nets).
Specs
Ranked in these QuestionsQuestion Ranking
Pros
Pro Lots of packages available
There are lots of different packages available that can be easily searched from the CRAN repo site and downloaded, or installed via the R command line interface. These packages are easy to include in a project or source file, and pertain to a wide variety of topics, from classification, social media analysis, and text processing to interactive 3d plotting and networks (including neural nets).
Pro Has a wide range of options when it comes to IDEs/GUIs
Among the IDEs available there are several commercial applications as well as free and/or open-source ones, such as R Studio, which features syntax highlighting, project management capabilities, integrated terminal access, decent code completion and on-the-spot parameter hinting, graphical interfaces for package installation and such, and commendable extensibility/developer support.
Pro High-level
No complicated loop processing to apply a function to a array of arrays. Functions are defined in a way that they will typically operate the same way on any number of array dimensions. This, along with the clear syntax, leads to very compact code that can be comprehended in a single line, rather than spread out over many pages.
Pro Iverson award in 2016
Pro Very concise
Pro Clear syntax
There is no operator precedence to memorize, as everything is evaluated right-to-left. E.g., in APL 3*10+3 = 39. You do have to type in some otherwise unusual characters, such as ↓ and ∊, but those are easy enough to pick up -- and they have the advantage of being easily remembered once understood, as they often have some connection to common mathematical symbols.
Pro Terse
You can seriously implement Conway's Game of Life in one line. There's a reason we do algebra with symbols instead of story problems. APL is good as a language of thought, since you can hold entire algorithms in your head at once.
Cons
Con Hieroglyphics
APL symbols are only used by APL. You have to learn how to type them and how to read them. It doesn't work well with standard text editors , version control systems, search engines, or web forums. This makes it difficult for a beginner to find help.
Con Does not prepare you for most of the practical programming languages of today
While APL does have a strong use in certain areas (mostly mathematically intensive applications), it is a Domain-Specific language. That along with the fact that its syntax is not similar to C-like or other common syntax forms means that learning APL and expecting it to help you with learning other languages is like learning Calculus and expecting it to make English easier.
Con Write-only language
Maybe you can learn to read it with experience. And an interpreter. Reading APL is like reading a college math book. You might have to study a single line for fifteen minutes to understand what it's doing. And that's if you're an expert at APL. This also applies if you wrote it yourself more than a month ago. hopefully you have comments.
Con Flawless diamond
You can't extend the language itself. (J does this better.) Of course, what's built in is quite powerful.