techtalk #66 : r language programming

15

Upload: bincangteknologi

Post on 17-Jul-2015

200 views

Category:

Software


4 download

TRANSCRIPT

Page 1: TechTalk #66 : R language programming
Page 2: TechTalk #66 : R language programming
Page 3: TechTalk #66 : R language programming

Little bit about R

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

Page 4: TechTalk #66 : R language programming

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

Page 5: TechTalk #66 : R language programming

Who is using R

Academic and ResearcherData Science Engineer

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

Page 6: TechTalk #66 : R language programming

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

Page 7: TechTalk #66 : R language programming

R Tools

R Software

R Studio

Swirl package #For interactive tutorial

Page 8: TechTalk #66 : R language programming

Why use R?

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

ggplot2

active community

academic and researcher use R

Page 9: TechTalk #66 : R language programming

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

Page 11: TechTalk #66 : R language programming

Be careful

R save data in memory

row = 1,5 mil column = 100

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

~ 1,2 Gbyte

Page 12: TechTalk #66 : R language programming

Debugging in R

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

Page 13: TechTalk #66 : R language programming

Let’s do twitter mining

text miningtwitter data extraction

source: here

retweet relationtwitter wordcloudtwitter sentiment analysis

Page 15: TechTalk #66 : R language programming

Reference

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

miningtwitter/home

etc, etc, etc