lists, dataframes, tables... • „All R objects have a class, a type and a dimensions.” • Typical langs use 'for' loops, in ruby we use enumerators, in R the most popular are „apply” functions • Dataframes behave like tables in databases, they even can be queried
Rserve on server, ruby connects to it with Ruby-RServe-Client (RServe came to us from Java) • Pros: Fast, updated (rarely, but it's better than nothing) • Cons: Require Rserve on server, poor documentation, limited functions on Windows (who cares)
project) http://www.slideshare.net/sausheong/rubyand-r (London RUG) http://www.mayin.org/ajayshah/KB/R/index.html (R by example, great source of knowledge!) English & Polish Wikibooks - „Programming R” http://rseek.org/ (search for blog posts, tutorials, etc. - great way to find something abou rare topics) http://www.statystycy.pl/ (polish forum with section about R programming) http://docs.ggplot2.org (docs for ggplot2 – most popular R graphics library) http://cran.r-project.org (CRAN with R packages) http://stat.bell-labs.com/RS-DBI/doc/html/index.html (nice guide for DBI – connecting with databases) http://cran.r-project.org/manuals.html (official R tutorials & manuals, with great introduction guide – simple, but quite comprehensive, about 100 pages) http://tryr.codeschool.com (Codeschool course to „Try R”) https://github.com/virtualstaticvoid/heroku-buildpack-r (Running R on heroku) Thanks! Notice: During this presentation, I didn't used any loops in code.