Slashdot Mirror


The Power of the R Programming Language

BartlebyScrivener writes "The New York Times has an article on the R programming language. The Times describes it as: 'a popular programming language used by a growing number of data analysts inside corporations and academia. It is becoming their lingua franca partly because data mining has entered a golden age, whether being used to set ad prices, find new drugs more quickly or fine-tune financial models. Companies as diverse as Google, Pfizer, Merck, Bank of America, the InterContinental Hotels Group and Shell use it.'"

10 of 382 comments (clear)

  1. popular? no by geekoid · · Score: 4, Insightful

    Growing in use? sure.

    --
    The Kruger Dunning explains most post on /. http://en.wikipedia.org/wiki/Dunning%E2%80%93Kruger_effect
  2. Re:Only for certain kind of analyst... by Samschnooks · · Score: 5, Insightful

    ... most others keep thinking that M$ Excel is the silver bullet.

    The folks I know who use Excel for analysis use it because it's the package that everyone gets in their organization, there's a shit load of material on the web that uses excel, there's plenty of add-ons for it (no need to reinvent the wheel), and when sharing data and analysis, everyone is familiar with it. An engineer I know who uses excel chose it because it was the fastest way to connect to his testing equipment. R is relatively new and as more folks come into the workforce who know it, we'll see it replace Excel for functions that it is better suited for.

  3. Show me some example code by bogaboga · · Score: 5, Insightful

    My request is to those that are in the know to show me some example code, that does something useful. Then later, compare that code to code from other languages to accomplish the same task.

    Include reasons to support the notion that the R language is [necessarily] better at what it does.

    1. Re:Show me some example code by transonic_shock · · Score: 5, Insightful

      FTA
      "I think it addresses a niche market for high-end data analysts that want free, readily available code," said Anne H. Milley, director of technology product marketing at SAS. She adds, "We have customers who build engines for aircraft. I am happy they are not using freeware when I get on a jet.""

      Seriously, does this person know what she is talking about?

      1. Yes, CFD and Structural Analysis software is increasingly written using open source tools and run on open source OS (Linux running on clusters)

      2. SAS is not used to design any part of the aircraft.

      I have noticed SAS uses the same kind of FUD to counter R as M$ uses to counter Linux.

    2. Re:Show me some example code by visible.frylock · · Score: 5, Insightful

      Seriously, does this person know what she is talking about?

      Let's see, Director of technology product marketing. I'm gonna go with a big NO.

      --
      Billy Brown rides on. Yolanda Green bypasses Gary White.
    3. Re:Show me some example code by stephentyrone · · Score: 4, Insightful

      I have no idea how i would start to code that in C, python, etc. in a way that's remotely efficient ;)

      How about:

      #include <clapack.h>
      dgesdd( argument list );

      This sort of thing is a feature of libraries, not an inherent advantage of one language.

    4. Re:Show me some example code by Daniel+Dvorkin · · Score: 4, Insightful

      One big advantage R has over Matlab (er, besides the fact that R is OSS, but of course there's Octave for those who want an OSS Matlab alternative) is that R handles non-matrix data structures much, much better than Matlab does. Trying to work with anything that isn't a vector or a matrix in Matlab is an exercise in pain.

      --
      The correlation between ignorance of statistics and using "correlation is not causation" as an argument is close to 1.
    5. Re:Show me some example code by Peaquod · · Score: 4, Insightful

      Yeah that's a poorly informed comment. C is a freeware language. And it is used in virtually every embedded system on earth... like the control system for the laser that cuts your cornea at the neighborhood lasik shop. No doubt R is staggeringly less mature than C, but the fact that it is free has no bearing on its quality.

  4. Re:Not a language, really by Hobbes_2100 · · Score: 5, Insightful

    Are you kidding me? Are you really *(*$@#ing, Grade A kidding me?

    Python/Perl/Ruby require interpreters. Scheme and Lisp are frequently run within interpreters. "stand-alone executable" require HARDWARE. Any programming system requires *something* underneath it unless you are programming in a purely physical system like an automated abacus with mechanical gears that buzz and whirr.

    Programming languages are defined by their Turing completeness: can they do things repeatedly, can they assign values to memory locations and perform some basic set of operations (nand works nicely), can they make decisions. Everything else is fluff.

    Perl has "fluff" that handles regular expressions very well.

    Python (and others) have "fluff" that make networking and database ops easy.

    R has "fluff" that makes it terribly convenient to work with data.

    Matlab has "fluff" that makes it very easy to do numerical methods programming.

    Mathematica has "fluff" that makes it very easy to do symbolic computation.

    Each and every one of these, and most well-known languages, with all their warts and beauty marks are Turing complete and are deserving of the term "programming language".

    Regards,
    Mark

  5. Re:Only for certain kind of analyst... by Kyle3om · · Score: 5, Insightful

    The flowchart programming of labview is a pain in the butt for many looped programs and programs with complicated timings. Mablab is easier for most things (and more powerful) if you can get your external equipment to work with it without jumping through hoops.