techtalk #66 : r language programming

Post on 17-Jul-2015

202 Views

Category:

Software

4 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Little bit about R

https://www.youtube.com/watch?v=TR2bHSJ_eck

History of R

R <- S <- C

Started in 1991, New Zealand

more than 4000 packages

http://cran.r-project.org/newest version: R-3.1.3

Who is using R

Academic and ResearcherData Science Engineer

Company: Google, HP, Bank, Facebook, Foursquare, Ubermore company here

What can we do with R?

Quantitative Analysis

Data Exploration and Visualization

Data Mining and Machine Learning

More on application: http://www.revolutionanalytics.com/r-language-

features-applications-and-extensions

R Tools

R Software

R Studio

Swirl package #For interactive tutorial

Why use R?

A lot of available package#install from cran.r-project.org

ggplot2

active community

academic and researcher use R

Let’s learn R

Lexical Scoping

Function as first class objectSupport imaginary number

Support expression of mathematical formulasuch as: linear model, linear regression, classification, logistic regression, clustering, more

and even more

Be careful

R save data in memory

row = 1,5 mil column = 100

total memory = 8byte x 100 x 1,5mil

~ 1,2 Gbyte

Debugging in R

traceback()debug()options(error = recover)

Let’s do twitter mining

text miningtwitter data extraction

source: here

retweet relationtwitter wordcloudtwitter sentiment analysis

Reference

Coursera: R programming https://sites.google.com/site/

miningtwitter/home

etc, etc, etc

top related