Get Advice Icon

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

OCaml
OCaml

48
10
+ 1
0
R
R

1K
670
+ 1
284
Add tool

OCaml vs R: What are the differences?

Developers describe OCaml as "A general purpose industrial-strength programming language". It is an industrial strength programming language supporting functional, imperative and object-oriented styles. It is the technology of choice in companies where a single mistake can cost millions and speed matters, . On the other hand, R is detailed as "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.

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

Instacart, Zalando, and Thumbtack are some of the popular companies that use R, whereas OCaml is used by Hammer Lab, NG Inform谩tica, and Maersk Digital. R has a broader approval, being mentioned in 188 company stacks & 630 developers stacks; compared to OCaml, which is listed in 6 company stacks and 6 developer stacks.

- No public GitHub repository available -
- No public GitHub repository available -

What is OCaml?

It is an industrial strength programming language supporting functional, imperative and object-oriented styles. It is the technology of choice in companies where a single mistake can cost millions and speed matters,

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 OCaml?
Why do developers choose R?
    Be the first to leave a pro

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

      Be the first to leave a con

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

      What companies use OCaml?
      What companies use R?

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

      What tools integrate with OCaml?
      What tools integrate with R?
      What are some alternatives to OCaml and R?
      Haskell
      ReasonML
      It lets you write simple, fast and quality type safe code while leveraging both the JavaScript & OCaml ecosystems.It is powerful, safe type inference means you rarely have to annotate types, but everything gets checked for you.
      Java
      Java is a programming language and computing platform first released by Sun Microsystems in 1995. There are lots of applications and websites that will not work unless you have Java installed, and more are created every day. Java is fast, secure, and reliable. From laptops to datacenters, game consoles to scientific supercomputers, cell phones to the Internet, Java is everywhere!
      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.
      PHP
      Fast, flexible and pragmatic, PHP powers everything from your blog to the most popular websites in the world.
      See all alternatives
      Decisions about OCaml and R
      Eric Colson
      Eric Colson
      Chief Algorithms Officer at Stitch Fix | 19 upvotes 211.9K views
      atStitch FixStitch Fix
      Amazon EC2 Container Service
      Amazon EC2 Container Service
      Docker
      Docker
      PyTorch
      PyTorch
      R
      R
      Python
      Python
      Presto
      Presto
      Apache Spark
      Apache Spark
      Amazon S3
      Amazon S3
      PostgreSQL
      PostgreSQL
      Kafka
      Kafka
      #Data
      #DataStack
      #DataScience
      #ML
      #Etl
      #AWS

      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 OCaml and R
      No reviews found
      How developers use OCaml 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 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 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

      How much does OCaml cost?
      How much does R cost?
      Pricing unavailable
      Pricing unavailable
      News about OCaml
      More news
      News about R
      More news