<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:#0b5394">FWIW, Matlab has been almost forgotten from the data science dictionary. R and Python reign supreme. Julia and Scala are likely usurpers. The mention of Haskell makes me glad, but Scala does just as good a job as a language and a platform.</div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><font color="#0b5394" face="verdana, sans-serif">Best,</font></div><div><font color="#0b5394" face="verdana, sans-serif">Abhinav</font></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Tue, Sep 29, 2015 at 9:23 PM, Predrag Punosevac <span dir="ltr"><<a href="mailto:predragp@cs.cmu.edu" target="_blank">predragp@cs.cmu.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">Kirthevasan Kandasamy <<a href="mailto:kandasamy@cmu.edu">kandasamy@cmu.edu</a>> wrote:<br>
<br>
> alternatively,<br>
> you could switch to matlab :P<br>
><br>
<br>
</span>That is a bad advise! I am serious.<br>
<br>
As you know both MATLAB and R are domain specific languages. The only<br>
data structure recognized by MATLAB is matrix.  Two dimensional matrix<br>
of a finite subset of rational numbers. How are you going to put a<br>
string into the matrix?  Ugly yeah!<br>
<br>
On the another hand basic data types in R are:<br>
<br>
- Numeric<br>
- Integer<br>
- Complex<br>
- Logical<br>
- Character<br>
<br>
<br>
which means that with exception of pointers R recognizes all classic<br>
primitive data types plus a buil-in data type "Complex" (Fortran lovers<br>
will remember that one). R has more packages for data mining and<br>
machine learning than any other language and this comes from a mouth of<br>
a Pythonista.<br>
<br>
<br>
Now why some nut cases like Peter and me like Python better than R. Well<br>
unlike R, Python is general purpose interpreted language which has two<br>
great libraries for dealing with data mining and machine learning Pandas<br>
and Scikit-learn. They are not quite as good as R (they are getting<br>
there) but we are completely unconstrained by the domain of application<br>
so important to R.<br>
<br>
<br>
We could also talk about other alternatives like Perl, Haskell, Julia,<br>
Lua alike.<br>
<br>
Cheers,<br>
Predrag<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
> On Tue, Sep 29, 2015 at 8:35 PM, Predrag Punosevac <<a href="mailto:predragp@cs.cmu.edu">predragp@cs.cmu.edu</a>><br>
> wrote:<br>
><br>
> > Maria De Arteaga Gonzalez <<a href="mailto:mdeartea@andrew.cmu.edu">mdeartea@andrew.cmu.edu</a>> wrote:<br>
> ><br>
> > > Hi Predrag,<br>
> > ><br>
> > > My desktop has R 3.2 installed, however, many of the packages that I use<br>
> > for my research only work for R 3.1, could I downgrade? Thanks,<br>
> > ><br>
> ><br>
> > Actually after trying to downgrade your version of R for about 45<br>
> > minutes I realized that is a wrong way to deal with the problem.<br>
> > Downgrading packages is very difficult as all dependencies have to be<br>
> > resolved manually. In system administration we call that Red Hat Hell.<br>
> > The real way to deal with your problem is to upgrade manually installed<br>
> > package. Kyle brought to my attention that automatics updates of R<br>
> > (which I turned on)  are braking manually installed R packages. There is<br>
> > a way to deal with it. I just need to read about 20 pages of the<br>
> > documentation before I can do it.<br>
> ><br>
> > Between plotting in R shell is broken since last week due to shady QA by<br>
> > EPEL people. I am hoping that the upstream will fix the problem soon and<br>
> > that will not have to "downgrade" things.<br>
> ><br>
> > Finally Dr. Dubrawski have overheard me using word obsolete in the same<br>
> > sentence with R. Our R is the latest and the greatest (or maybe not so<br>
> > great). Our installation of RStudio (IDE) is obsolete as upstream cares<br>
> > only for Windows. The upshot of having the old version of RStudio is<br>
> > that R plots still work from it.<br>
> ><br>
> > Best,<br>
> > Predrag<br>
> ><br>
> ><br>
> ><br>
> > > Maria<br>
> > ><br>
> > > Mar?a De Arteaga<br>
> > > PhD Student in Machine Learning and Public Policy<br>
> > > Carnegie Mellon University<br>
> ><br>
> ><br>
<br>
</div></div></blockquote></div><br></div></div>