Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

Elixir
Elixir

1.6K
1.4K
+ 1
927
R
R

1.1K
711
+ 1
303
Add tool

Elixir vs R: What are the differences?

Elixir: Dynamic, functional language designed for building scalable and maintainable applications. Elixir leverages the Erlang VM, known for running low-latency, distributed and fault-tolerant systems, while also being successfully used in web development and the embedded software domain; 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.

Elixir and R can be primarily classified as "Languages" tools.

"Concurrency" is the primary reason why developers consider Elixir over the competitors, whereas "Data analysis " was stated as the key factor in picking R.

Elixir is an open source tool with 15.6K GitHub stars and 2.22K GitHub forks. Here's a link to Elixir's open source repository on GitHub.

Poll Everywhere, NoRedInk, and Resultados Digitais are some of the popular companies that use Elixir, whereas R is used by Instacart, Key Location, and Custora. Elixir has a broader approval, being mentioned in 177 company stacks & 190 developers stacks; compared to R, which is listed in 128 company stacks and 97 developer stacks.

- No public GitHub repository available -

What is Elixir?

Elixir leverages the Erlang VM, known for running low-latency, distributed and fault-tolerant systems, while also being successfully used in web development and the embedded software domain.

What is R?

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.
Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

Why do developers choose Elixir?
Why do developers choose R?

Sign up to add, upvote and see more prosMake informed product decisions

Sign up to add, upvote and see more consMake informed product decisions

What companies use Elixir?
What companies use R?

Sign up to get full access to all the companiesMake informed product decisions

What tools integrate with Elixir?
What tools integrate with R?

Sign up to get full access to all the tool integrationsMake informed product decisions

What are some alternatives to Elixir and R?
Go
Go is expressive, concise, clean, and efficient. Its concurrency mechanisms make it easy to write programs that get the most out of multicore and networked machines, while its novel type system enables flexible and modular program construction. Go compiles quickly to machine code yet has the convenience of garbage collection and the power of run-time reflection. It's a fast, statically typed, compiled language that feels like a dynamically typed, interpreted language.
Erlang
Some of Erlang's uses are in telecoms, banking, e-commerce, computer telephony and instant messaging. Erlang's runtime system has built-in support for concurrency, distribution and fault tolerance. OTP is set of Erlang libraries and design principles providing middle-ware to develop these systems.
Clojure
Clojure is designed to be a general-purpose language, combining the approachability and interactive development of a scripting language with an efficient and robust infrastructure for multithreaded programming. Clojure is a compiled language - it compiles directly to JVM bytecode, yet remains completely dynamic. Clojure is a dialect of Lisp, and shares with Lisp the code-as-data philosophy and a powerful macro system.
Ruby
Ruby is a language of careful balance. Its creator, Yukihiro “Matz” Matsumoto, blended parts of his favorite languages (Perl, Smalltalk, Eiffel, Ada, and Lisp) to form a new language that balanced functional programming with imperative programming.
Rust
Rust is a systems programming language that combines strong compile-time correctness guarantees with fast performance. It improves upon the ideas of other systems languages like C++ by providing guaranteed memory safety (no crashes, no data races) and complete control over the lifecycle of memory.
See all alternatives
Decisions about Elixir and R
StackShare Editors
StackShare Editors
Consul
Consul
Elixir
Elixir
Erlang
Erlang

Postmates built a tool called Bazaar that helps onboard new partners and handles several routine tasks, like nightly emails to merchants alerting them about items that are out of stock.

Since they ran Bazaar across multiple instances, the team needed to avoid sending multiple emails to their partners by obtaining lock across multiple hosts. To solve their challenge, they created and open sourced ConsulMutEx, and an Elixir module for acquiring and releasing locks with Consul and other backends.

It works with Consul’s KV store, as well as other backends, including ets, Erlang’s in-memory database.

See more
Sebastian Gębski
Sebastian Gębski
CTO at Shedul/Fresha · | 7 upvotes · 45.5K views
atFresha EngineeringFresha Engineering
Elixir
Elixir
Phoenix Framework
Phoenix Framework
Erlang
Erlang
Credo
Credo
Hex
Hex
AppSignal
AppSignal

Another major decision was to adopt Elixir and Phoenix Framework - the DX (Developer eXperience) is pretty similar to what we know from RoR, but this tech is running on the top of rock-solid Erlang platform which is powering planet-scale telecom solutions for 20+ years. So we're getting pretty much the best from both worlds: minimum friction & smart conventions that eliminate the excessive boilerplate AND highly concurrent EVM (Erlang's Virtual Machine) that makes all the scalability problems vanish. The transition was very smooth - none of Ruby developers we had decided to leave because of Elixir. What is more, we kept recruiting Ruby developers w/o any requirement regarding Elixir proficiency & we still were able to educate them internally in almost no time. Obviously Elixir comes with some more tools in the stack: Credo , Hex , AppSignal (required to properly monitor BEAM apps).

See more
Eric Colson
Eric Colson
Chief Algorithms Officer at Stitch Fix · | 19 upvotes · 354.5K views
atStitch FixStitch Fix
Kafka
Kafka
PostgreSQL
PostgreSQL
Amazon S3
Amazon S3
Apache Spark
Apache Spark
Presto
Presto
Python
Python
R
R
PyTorch
PyTorch
Docker
Docker
Amazon EC2 Container Service
Amazon EC2 Container Service
#AWS
#Etl
#ML
#DataScience
#DataStack
#Data

The algorithms and data infrastructure at Stitch Fix is housed in #AWS. Data acquisition is split between events flowing through Kafka, and periodic snapshots of PostgreSQL DBs. We store data in an Amazon S3 based data warehouse. Apache Spark on Yarn is our tool of choice for data movement and #ETL. Because our storage layer (s3) is decoupled from our processing layer, we are able to scale our compute environment very elastically. We have several semi-permanent, autoscaling Yarn clusters running to serve our data processing needs. While the bulk of our compute infrastructure is dedicated to algorithmic processing, we also implemented Presto for adhoc queries and dashboards.

Beyond data movement and ETL, most #ML centric jobs (e.g. model training and execution) run in a similarly elastic environment as containers running Python and R code on Amazon EC2 Container Service clusters. The execution of batch jobs on top of ECS is managed by Flotilla, a service we built in house and open sourced (see https://github.com/stitchfix/flotilla-os).

At Stitch Fix, algorithmic integrations are pervasive across the business. We have dozens of data products actively integrated systems. That requires serving layer that is robust, agile, flexible, and allows for self-service. Models produced on Flotilla are packaged for deployment in production using Khan, another framework we've developed internally. Khan provides our data scientists the ability to quickly productionize those models they've developed with open source frameworks in Python 3 (e.g. PyTorch, sklearn), by automatically packaging them as Docker containers and deploying to Amazon ECS. This provides our data scientist a one-click method of getting from their algorithms to production. We then integrate those deployments into a service mesh, which allows us to A/B test various implementations in our product.

For more info:

#DataScience #DataStack #Data

See more
Interest over time
Reviews of Elixir and R
Review ofElixirElixir

i've give a try to Ruby, Crystal, Python and GO, and yeah, for web development i use Elixir-Phoenix, because idk why just amazing, my phoenix app is very stable (comparing to api that written in other language), Ruby is slow, Crystal has unstable API, GO, umm yeah, you need too complicated (i use golang for microservice)

How developers use Elixir and R
Avatar of benyomin
benyomin uses RR

What are my other choices for a vectorized statistics language. Professor was pushing SAS Jump (or was that SPSS) with a menu-driven point and click approach. (Reproducibility can still be accomplished, you publish the script generated by all your clicks.) But I want to type everything, great online tutorials for R. I think I made the right pick.

Avatar of Provide Booking
Provide Booking uses ElixirElixir

Huge boon to productivity when coupled with Phoenix. Moreover, it has made background jobs and all the unseen aspects of a business easily abstracted.

Avatar of Ralic Lo
Ralic Lo uses RR

Connect to database, data analytics, draw diagram. Machine Learning application, and also used Spark-R for big data processing.

Avatar of Tino Gehlert
Tino Gehlert uses RR

Visualisation of air quality in various rooms by RShiny (hosted free on shinyapps.io)

Avatar of Walter
Walter uses ElixirElixir

Knowledge collection, collation, and enrichment. Business logic.

Avatar of Ruben Timmerman
Ruben Timmerman uses ElixirElixir

For some internal tools like our email deliverability monitor

Avatar of Sesync
Sesync uses RR

R is primarily used by SESYNC's researchers

Avatar of STILLWATER SUPERCOMPUTING INC
STILLWATER SUPERCOMPUTING INC uses RR

Offline deep analytics and modeling

Avatar of Ryan Jennings
Ryan Jennings uses ElixirElixir

language used by phoenix framework

Avatar of olenderhub
olenderhub uses ElixirElixir

Elixir and Phoenix are awesome.

How much does Elixir cost?
How much does R cost?
Pricing unavailable
Pricing unavailable