techtalk #66 : r language programming
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
What so cool in R?
data.framedata.table
dplyr
ggplot
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
Source to learn R
Coursera Datacamp
Advance R60+ other resources
Reference
Coursera: R programming https://sites.google.com/site/
miningtwitter/home
etc, etc, etc