SlideShare a Scribd company logo
1 of 57
Download to read offline
Introduction to R
For Big Data Analysis
Sunday,	
  October	
  	
  25,	
  2015	
  
2:30pm	
  –	
  3:15	
  pm	
  
Moscone	
  South	
  –	
  303	
  
Raastech, Inc.
2201 Cooperative Way, Suite 600
Herndon, VA 20171
+1-703-884-2223
info@raastech.com
SIG Meetings at Oracle OpenWorld
All meetings will be held in User Group Pavilion,
Meeting Room, Moscone South
Monday, October 26
•  IOUG Cloud Computing SIG Meet-Up: 10:00 a.m.—11:00 a.m.
•  IOUG Oracle Enterprise Manager SIG: 5:00 p.m.—6:00 p.m. *Location: OTN Lounge, Moscone South*
Tuesday, October 27
•  IOUG IoT SIG: 10:30 a.m.—11:30 a.m.
•  IOUG BIWA SIG: 11:30 a.m.—12:30 p.m.
Wednesday, October 28
•  IOUG Exadata SIG: 10:30 a.m.—11:30 a.m.
•  IOUG RAC SIG: 1:00 p.m.—2:00 p.m.
•  IOUG Oracle 12c SIG: 2:00 p.m.—3:00 p.m.
© Raastech, Inc. 2015 | All rights reserved. Slide 3 of 51@Raastech
About Me
§  Harold Dost III @hdost
§  7+ years of Oracle Middleware experience
§  OCE (SOA Foundation Practitioner)
§  Oracle ACE Associate
§  From Michigan
§  blog.raastech.com
© Raastech, Inc. 2015 | All rights reserved. Slide 4 of 51@Raastech
About Raastech
§  Small systems integrator founded in 2009
§  Headquartered in the Washington DC area
§  Specializes in Oracle Fusion Middleware
§  Oracle Platinum Partner – 1 in 3,000 worldwide
§  Oracle SOA Specialized – 1 in 1,500 worldwide
§  Oracle ACE – 2 of 500 worldwide
§  100% of consultants are Oracle certified
§  100% of consultants present at major Oracle conferences
§  100% of consultants have published books, whitepapers, or articles
© Raastech, Inc. 2015 | All rights reserved. Slide 5 of 51@Raastech
Outline
1.  Getting Started
§  Installing R
§  Installing Tools
§  Getting Data
2.  Understanding R
§  Data Types
§  Functions
§  Data Import Mechanisms
© Raastech, Inc. 2015 | All rights reserved. Slide 6 of 51@Raastech
Outline (Cont.)
3.  Manipulating Data (Large Data Sets)
§  Deriving Simple Statistics
§  Graphing
4.  Demo
5.  Incorporating into an Enterprise
§  Using Enterprise Data Sources
§  Running R in your environment.
§  Familiarize with Oracle's R offerings
© Raastech, Inc. 2015 | All rights reserved. Slide 7 of 51@Raastech
© Raastech, Inc. 2015 | All rights reserved. Slide 8 of 51@Raastech
Why use R?
§  Strong Community
§  Including packages
§  Targeted for Statistical Analysis
§  Less code
© Raastech, Inc. 2015 | All rights reserved. Slide 9 of 51@Raastech
Know CRAN
§  Comprehensive
§  R
§  Archive
§  Network
© Raastech, Inc. 2015 | All rights reserved. Slide 10 of 51@Raastech
Installing R
§  Windows
§  Mac
§  Linux
© Raastech, Inc. 2015 | All rights reserved. Slide 11 of 51@Raastech
Installing R
§  Windows https://cran.r-project.org/bin/windows/
§  Mac https://cran.r-project.org/bin/macosx/
§  Linux https://cran.r-project.org/bin/linux/
© Raastech, Inc. 2015 | All rights reserved. Slide 12 of 51@Raastech
Development Tools
§  Rstudio - http://www.rstudio.com/products/rstudio/
§  Open Source Edition
§  Commercial License - $995
§  Eclipse
§  Sublime, TextPad, Other Simple Text Editors,…
© Raastech, Inc. 2015 | All rights reserved. Slide 13 of 51@Raastech
Installing Packages
§  Anything From CRAN
§  Anywhere
install.packages(c(“first”, “second”))
> sudo R CMD INSTALL package-version.tar.gz
© Raastech, Inc. 2015 | All rights reserved. Slide 14 of 51@Raastech
© Raastech, Inc. 2015 | All rights reserved. Slide 15 of 51@Raastech
Data Types
§  Vectors
§  Matrices
§  Arrays
§  Data Frames
§  Lists
§  Factors
© Raastech, Inc. 2015 | All rights reserved. Slide 16 of 51@Raastech
Everything is a Vector
§  Scalars are vectors of 1
§  Basic Types (Atomic Vectors)
§  Logical
§  Integer
§  Real
§  Complex
§  String/Character
§  Raw
© Raastech, Inc. 2015 | All rights reserved. Slide 17 of 51@Raastech
Matrices and Arrays
§  Require All the Same Type
§  Matrix Functions:
§  det(), t() , solve(), diag()
© Raastech, Inc. 2015 | All rights reserved. Slide 18 of 51@Raastech
Data Frames
§  Special List
§  Columns can have different types
© Raastech, Inc. 2015 | All rights reserved. Slide 19 of 51@Raastech
Special Values
§  Infinity, Positive and Negative: Inf and –Inf
§  Not A Number: NaN
§  Not Available: NA
§  Complex Numbers, 1+9i
© Raastech, Inc. 2015 | All rights reserved. Slide 20 of 51@Raastech
Use Case for Infinities
§  Finding Maximums and Minimums
§  Placeholder values when others won’t work
© Raastech, Inc. 2015 | All rights reserved. Slide 21 of 51@Raastech
Not a Number (NaN)
§  In means something went wrong somewhere
§  A missing argument
§  Invalid number
§  Check for with is.nan(x) to prevent leaking
§  Don’t use “==“ to find NaN, it will only give more NaN
© Raastech, Inc. 2015 | All rights reserved. Slide 22 of 51@Raastech
Assigning NaN
> a = NaN
> a
[1] NaN
© Raastech, Inc. 2015 | All rights reserved. Slide 23 of 51@Raastech
Adding NaN
Adding NaN
> b = 1
> c = a + b
> c
[1] NaN
When	
  adding	
  a	
  number	
  to	
  NaN	
  “Not	
  a	
  Number”	
  you	
  will	
  get	
  
NaN.	
  
© Raastech, Inc. 2015 | All rights reserved. Slide 24 of 51@Raastech
Comparing NaN to Regular Number
> d = b == c
> d
[1] NA
When	
  comparing	
  a	
  number	
  to	
  NaN	
  “Not	
  a	
  Number”	
  you	
  will	
  
get	
  NA.	
  
© Raastech, Inc. 2015 | All rights reserved. Slide 25 of 51@Raastech
Comparing NaN to NaN
> e = c == a
> e
[1] NA
When	
  comparing	
  NaN	
  “Not	
  a	
  Number”	
  to	
  NaN	
  you	
  will	
  get	
  NA.	
  
© Raastech, Inc. 2015 | All rights reserved. Slide 26 of 51@Raastech
Detecting NaN
> a
[1] NaN
> is.nan(a)
[1] TRUE
> is.na(a)
[1] TRUE
Since	
  NaN	
  aren’t	
  proper	
  numbers,	
  special	
  funcHons	
  must	
  be	
  
used	
  to	
  detect	
  them.	
  They	
  are	
  the	
  result	
  of	
  math	
  gone	
  wrong.	
  
© Raastech, Inc. 2015 | All rights reserved. Slide 27 of 51@Raastech
Detecting NA
> e = c == a
> e
[1] NA
> is.nan(e)
[1] FALSE
> is.na(e)
[1] TRUE
Just	
  as	
  with	
  NaN	
  special	
  funcHons	
  must	
  be	
  used,	
  but	
  NA	
  
generally	
  indicates	
  that	
  there	
  is	
  missing	
  informaHon	
  	
  
© Raastech, Inc. 2015 | All rights reserved. Slide 28 of 51@Raastech
Operators
§  Assignment ( ->, <-)
§  Addition (+)
§  Subtraction (–)
§  Division (/)
§  Multiplication (*)
§  Exponent (^)
§  Parentheses ( (, ) )
© Raastech, Inc. 2015 | All rights reserved. Slide 29 of 51@Raastech
© Raastech, Inc. 2015 | All rights reserved. Slide 30 of 51@Raastech
Math Functions
§  max()
§  min()
§  log()
§  sqrt()
© Raastech, Inc. 2015 | All rights reserved. Slide 31 of 51@Raastech
Deriving Simple Statistics
§  Minimum
§  Maximum
§  Median
§  Arithmetic Mean
§  Function estimation
§  Linear
§  Log
§  Exponential
§  R-Values
§  Standard Deviation
© Raastech, Inc. 2015 | All rights reserved. Slide 32 of 51@Raastech
How to define your own functions
firstfunction <- function(arg1, arg2, ... ){
statements
return(someoutput)
}
© Raastech, Inc. 2015 | All rights reserved. Slide 33 of 51@Raastech
© Raastech, Inc. 2015 | All rights reserved. Slide 34 of 51@Raastech
Twitter Example
§  First Install the Package
install.packages(c("twitteR”))
© Raastech, Inc. 2015 | All rights reserved. Slide 35 of 51@Raastech
Twitter Example
§  Authenticate
consumer = "CONSUMER KEY"
secret = "SECRET KEY"
setup_twitter_oauth(consumer,secret)
© Raastech, Inc. 2015 | All rights reserved. Slide 36 of 51@Raastech
Twitter Example
§  Get Trend Locations
§  The resulting WOEID (Where on Earth ID) can be
chosen
availableTrendLocations()
© Raastech, Inc. 2015 | All rights reserved. Slide 37 of 51@Raastech
Twitter Example
§  Get Trends
trends = getTrends(SOMEWOEID)
© Raastech, Inc. 2015 | All rights reserved. Slide 38 of 51@Raastech
Twitter Example
§  Retrieve Tweets
tweets <- searchTwitter(trends[XX,XX],n=1500)
tweetdf <- do.call("rbind",lapply(tweets,as.data.frame))
© Raastech, Inc. 2015 | All rights reserved. Slide 39 of 51@Raastech
Twitter Example
§  Filter
§  complete.cases is used to check for NA and NaN
numbers
tweetdf <- tweetdf[complete.cases(tweetdf[,15]),]
tweetdf <- tweetdf[tweetdf[,15] != 0,]
© Raastech, Inc. 2015 | All rights reserved. Slide 40 of 51@Raastech
Twitter Example
§  Simplify the dataframe
simpledf <- tweetdf[c("screenName","longitude","latitude")]
© Raastech, Inc. 2015 | All rights reserved. Slide 41 of 51@Raastech
Twitter Example
§  Create Matrix from Dataframe
tweetMatrix <- data.matrix(simpledf[2:3],rownames.force = FALSE)
© Raastech, Inc. 2015 | All rights reserved. Slide 42 of 51@Raastech
Twitter Example
§  Plot the Latitude and Longitude
plot(tweetMatrix)
© Raastech, Inc. 2015 | All rights reserved. Slide 43 of 51@Raastech
Graphing
§  Image
§  Contour
§  Box Chart
© Raastech, Inc. 2015 | All rights reserved. Slide 44 of 51@Raastech
K-Means
§  Essentially a search algorithm
§  Divides a dataset into k-clusters
© Raastech, Inc. 2015 | All rights reserved. Slide 45 of 51@Raastech
Time Series
§  Stock Quotes
§  Infection Incidents
§  Gas Prices
§  Audio
§  Etc.
Source:	
  hKp://www.loc.gov/pictures/resource/hec.23488/	
  
© Raastech, Inc. 2015 | All rights reserved. Slide 46 of 51@Raastech
Data Sources
NASA - https://data.nasa.gov
Quandl - https://www.quandl.com
© Raastech, Inc. 2015 | All rights reserved. Slide 47 of 51@Raastech
Time Series Analysis
§  Regression
§  Forecasting
§  Time Frequency (FFTs)
Source:	
  hKp://groups.csail.mit.edu/netmit/sFFT/algorithm.html	
  
© Raastech, Inc. 2015 | All rights reserved. Slide 48 of 51@Raastech
© Raastech, Inc. 2015 | All rights reserved. Slide 49 of 51@Raastech
Using Enterprise Data Sources
§  Database
§  Streams
§  Files
§  Etc.
© Raastech, Inc. 2015 | All rights reserved. Slide 50 of 51@Raastech
© Raastech, Inc. 2015 | All rights reserved. Slide 51 of 51@Raastech
Oracle R Distribution
§  Available on Oracle Public Yum
§  Enhanced dynamic Library loading
§  Enterprise Support Available
§  Oracle Advanced Analytics
§  Oracle Linux
§  Oracle Big Data Appliance
§  http://www.oracle.com/technetwork/database/database-technologies/r/r-
distribution/overview/index.html
© Raastech, Inc. 2015 | All rights reserved. Slide 52 of 51@Raastech
ROracle
§  Open Source Package
§  Maintained by Oracle
§  Uses OCI Interface to interact with databases
§  http://www.oracle.com/technetwork/database/database-technologies/r/r-
technologies/overview/index.html
© Raastech, Inc. 2015 | All rights reserved. Slide 53 of 51@Raastech
Oracle R Advanced Analytics for Hadoop
§  Component of the Oracle Big Data
Software Connectors Suite, an
option for the BDA
§  Provides abstraction from HiveQL
through R just as in Oracle R
Enterprise does for SQL
§  http://www.oracle.com/technetwork/database/
database-technologies/bdc/r-advanalytics-for-
hadoop/overview/index.html
© Raastech, Inc. 2015 | All rights reserved. Slide 54 of 51@Raastech
Oracle R Enterprise
§  Component of the Oracle Advanced
Analytics Option on Oracle Database EE
§  Allows use of R in the database without SQL
§  Save R Objects in the database
§  Easily Integrate with OBIEE
§  http://www.oracle.com/technetwork/database/database-
technologies/r/r-enterprise/overview/index.html
© Raastech, Inc. 2015 | All rights reserved. Slide 55 of 51@Raastech
© Raastech, Inc. 2015 | All rights reserved. Slide 56 of 51@Raastech
Contact Information
§  Harold Dost III
§  Principal Consultant
§  @hdost
§  harold.dost@raastech.com
© Raastech, Inc. 2015 | All rights reserved. Slide 57 of 51@Raastech
Resources
§  https://en.wikibooks.org/wiki/Statistical_Analysis:_an_Introduction_using_R/R_basics
§  http://www.r-project.org/
§  https://docs.oracle.com/cd/E57012_01/doc.141/e56973/toc.htm
§  http://cran.r-project.org/web/packages/akmeans/index.html
§  http://cran.r-project.org/web/packages/twitteR/index.html
§  http://en.wikipedia.org/wiki/K-means_clustering
§  http://www.rdatamining.com/examples/kmeans-clustering
§  http://blog.revolutionanalytics.com/2009/02/how-to-choose-a-random-number-in-r.html
§  https://www.packtpub.com/books/content/text-mining-r-part-2
§  http://www.eia.gov/totalenergy/data/monthly/index.cfm#consumption

More Related Content

Similar to Introduction to Oracle R for Big Data Analysis

Oracle BPM Suite Development: Getting Started
Oracle BPM Suite Development: Getting StartedOracle BPM Suite Development: Getting Started
Oracle BPM Suite Development: Getting StartedRevelation Technologies
 
Oracle Database Cloud Service - Provisioning Your First DBaaS Instance
Oracle Database Cloud Service - Provisioning Your First DBaaS InstanceOracle Database Cloud Service - Provisioning Your First DBaaS Instance
Oracle Database Cloud Service - Provisioning Your First DBaaS InstanceRevelation Technologies
 
Understanding and Developing Web Services: For DBAs and Database Developers
Understanding and Developing Web Services: For DBAs and Database DevelopersUnderstanding and Developing Web Services: For DBAs and Database Developers
Understanding and Developing Web Services: For DBAs and Database DevelopersRevelation Technologies
 
Oracle Compute Cloud Service vs. Amazon Web Services EC2 : A Hands-On Review
Oracle Compute Cloud Service vs. Amazon Web Services EC2 : A Hands-On ReviewOracle Compute Cloud Service vs. Amazon Web Services EC2 : A Hands-On Review
Oracle Compute Cloud Service vs. Amazon Web Services EC2 : A Hands-On ReviewRevelation Technologies
 
Deploying to Oracle SOA Suite 12c - Everything You Need To Know
Deploying to Oracle SOA Suite 12c - Everything You Need To KnowDeploying to Oracle SOA Suite 12c - Everything You Need To Know
Deploying to Oracle SOA Suite 12c - Everything You Need To KnowRevelation Technologies
 
What Every Client Should Do on Their Oracle SOA Projects
What Every Client Should Do on Their Oracle SOA ProjectsWhat Every Client Should Do on Their Oracle SOA Projects
What Every Client Should Do on Their Oracle SOA ProjectsRevelation Technologies
 
Anyone Can Build a Site, Even You! Create a Microsite with Oracle Sites Cloud...
Anyone Can Build a Site, Even You! Create a Microsite with Oracle Sites Cloud...Anyone Can Build a Site, Even You! Create a Microsite with Oracle Sites Cloud...
Anyone Can Build a Site, Even You! Create a Microsite with Oracle Sites Cloud...Revelation Technologies
 
R Tutorial For Beginners | R Programming Tutorial l R Language For Beginners ...
R Tutorial For Beginners | R Programming Tutorial l R Language For Beginners ...R Tutorial For Beginners | R Programming Tutorial l R Language For Beginners ...
R Tutorial For Beginners | R Programming Tutorial l R Language For Beginners ...Edureka!
 
Observe Changes of Taiwan Big Data Communities with Small Data
Observe Changes of Taiwan Big Data Communities with Small DataObserve Changes of Taiwan Big Data Communities with Small Data
Observe Changes of Taiwan Big Data Communities with Small DataJazz Yao-Tsung Wang
 
Oracle Compute Cloud vs. Amazon Web Services EC2 -- A Hands-On Showdown
Oracle Compute Cloud vs. Amazon Web Services EC2 -- A Hands-On ShowdownOracle Compute Cloud vs. Amazon Web Services EC2 -- A Hands-On Showdown
Oracle Compute Cloud vs. Amazon Web Services EC2 -- A Hands-On ShowdownRevelation Technologies
 
Useful Tools for Problem Solving by Operational Excellence Consulting
Useful Tools for Problem Solving by Operational Excellence ConsultingUseful Tools for Problem Solving by Operational Excellence Consulting
Useful Tools for Problem Solving by Operational Excellence ConsultingOperational Excellence Consulting
 
Den moderne dataplatform - gør din dataplatform til det mest værdifulde asset
Den moderne dataplatform - gør din dataplatform til det mest værdifulde asset Den moderne dataplatform - gør din dataplatform til det mest værdifulde asset
Den moderne dataplatform - gør din dataplatform til det mest værdifulde asset Microsoft
 
Talend Interview Questions and Answers | Talend Online Training | Talend Tuto...
Talend Interview Questions and Answers | Talend Online Training | Talend Tuto...Talend Interview Questions and Answers | Talend Online Training | Talend Tuto...
Talend Interview Questions and Answers | Talend Online Training | Talend Tuto...Edureka!
 
Getting Started with Security for your Oracle SOA Suite Integrations
Getting Started with Security for your Oracle SOA Suite IntegrationsGetting Started with Security for your Oracle SOA Suite Integrations
Getting Started with Security for your Oracle SOA Suite IntegrationsRevelation Technologies
 
Oracle Compute Cloud Service vs. Amazon Web Services EC2
Oracle Compute Cloud Service vs. Amazon Web Services EC2Oracle Compute Cloud Service vs. Amazon Web Services EC2
Oracle Compute Cloud Service vs. Amazon Web Services EC2Revelation Technologies
 
Deep Dive: More Oracle Data Pump Performance Tips and Tricks
Deep Dive: More Oracle Data Pump Performance Tips and TricksDeep Dive: More Oracle Data Pump Performance Tips and Tricks
Deep Dive: More Oracle Data Pump Performance Tips and TricksGuatemala User Group
 
Predicting Consumer Behaviour via Hadoop
Predicting Consumer Behaviour via HadoopPredicting Consumer Behaviour via Hadoop
Predicting Consumer Behaviour via HadoopSkillspeed
 

Similar to Introduction to Oracle R for Big Data Analysis (20)

Hands-On with Oracle SOA Cloud Service
Hands-On with Oracle SOA Cloud ServiceHands-On with Oracle SOA Cloud Service
Hands-On with Oracle SOA Cloud Service
 
Oracle BPM Suite Development: Getting Started
Oracle BPM Suite Development: Getting StartedOracle BPM Suite Development: Getting Started
Oracle BPM Suite Development: Getting Started
 
Oracle Database Cloud Service - Provisioning Your First DBaaS Instance
Oracle Database Cloud Service - Provisioning Your First DBaaS InstanceOracle Database Cloud Service - Provisioning Your First DBaaS Instance
Oracle Database Cloud Service - Provisioning Your First DBaaS Instance
 
Understanding and Developing Web Services: For DBAs and Database Developers
Understanding and Developing Web Services: For DBAs and Database DevelopersUnderstanding and Developing Web Services: For DBAs and Database Developers
Understanding and Developing Web Services: For DBAs and Database Developers
 
Oracle Compute Cloud Service vs. Amazon Web Services EC2 : A Hands-On Review
Oracle Compute Cloud Service vs. Amazon Web Services EC2 : A Hands-On ReviewOracle Compute Cloud Service vs. Amazon Web Services EC2 : A Hands-On Review
Oracle Compute Cloud Service vs. Amazon Web Services EC2 : A Hands-On Review
 
Deploying to Oracle SOA Suite 12c - Everything You Need To Know
Deploying to Oracle SOA Suite 12c - Everything You Need To KnowDeploying to Oracle SOA Suite 12c - Everything You Need To Know
Deploying to Oracle SOA Suite 12c - Everything You Need To Know
 
What Every Client Should Do on Their Oracle SOA Projects
What Every Client Should Do on Their Oracle SOA ProjectsWhat Every Client Should Do on Their Oracle SOA Projects
What Every Client Should Do on Their Oracle SOA Projects
 
Anyone Can Build a Site, Even You! Create a Microsite with Oracle Sites Cloud...
Anyone Can Build a Site, Even You! Create a Microsite with Oracle Sites Cloud...Anyone Can Build a Site, Even You! Create a Microsite with Oracle Sites Cloud...
Anyone Can Build a Site, Even You! Create a Microsite with Oracle Sites Cloud...
 
R Tutorial For Beginners | R Programming Tutorial l R Language For Beginners ...
R Tutorial For Beginners | R Programming Tutorial l R Language For Beginners ...R Tutorial For Beginners | R Programming Tutorial l R Language For Beginners ...
R Tutorial For Beginners | R Programming Tutorial l R Language For Beginners ...
 
Observe Changes of Taiwan Big Data Communities with Small Data
Observe Changes of Taiwan Big Data Communities with Small DataObserve Changes of Taiwan Big Data Communities with Small Data
Observe Changes of Taiwan Big Data Communities with Small Data
 
Hands-On with Oracle SOA
Hands-On with Oracle SOAHands-On with Oracle SOA
Hands-On with Oracle SOA
 
Oracle Compute Cloud vs. Amazon Web Services EC2 -- A Hands-On Showdown
Oracle Compute Cloud vs. Amazon Web Services EC2 -- A Hands-On ShowdownOracle Compute Cloud vs. Amazon Web Services EC2 -- A Hands-On Showdown
Oracle Compute Cloud vs. Amazon Web Services EC2 -- A Hands-On Showdown
 
Useful Tools for Problem Solving by Operational Excellence Consulting
Useful Tools for Problem Solving by Operational Excellence ConsultingUseful Tools for Problem Solving by Operational Excellence Consulting
Useful Tools for Problem Solving by Operational Excellence Consulting
 
Den moderne dataplatform - gør din dataplatform til det mest værdifulde asset
Den moderne dataplatform - gør din dataplatform til det mest værdifulde asset Den moderne dataplatform - gør din dataplatform til det mest værdifulde asset
Den moderne dataplatform - gør din dataplatform til det mest værdifulde asset
 
Talend Interview Questions and Answers | Talend Online Training | Talend Tuto...
Talend Interview Questions and Answers | Talend Online Training | Talend Tuto...Talend Interview Questions and Answers | Talend Online Training | Talend Tuto...
Talend Interview Questions and Answers | Talend Online Training | Talend Tuto...
 
Getting Started with Security for your Oracle SOA Suite Integrations
Getting Started with Security for your Oracle SOA Suite IntegrationsGetting Started with Security for your Oracle SOA Suite Integrations
Getting Started with Security for your Oracle SOA Suite Integrations
 
SQL TUNING 101
SQL TUNING 101SQL TUNING 101
SQL TUNING 101
 
Oracle Compute Cloud Service vs. Amazon Web Services EC2
Oracle Compute Cloud Service vs. Amazon Web Services EC2Oracle Compute Cloud Service vs. Amazon Web Services EC2
Oracle Compute Cloud Service vs. Amazon Web Services EC2
 
Deep Dive: More Oracle Data Pump Performance Tips and Tricks
Deep Dive: More Oracle Data Pump Performance Tips and TricksDeep Dive: More Oracle Data Pump Performance Tips and Tricks
Deep Dive: More Oracle Data Pump Performance Tips and Tricks
 
Predicting Consumer Behaviour via Hadoop
Predicting Consumer Behaviour via HadoopPredicting Consumer Behaviour via Hadoop
Predicting Consumer Behaviour via Hadoop
 

More from Revelation Technologies

Automating Cloud Operations: Everything You Wanted to Know about cURL and REST
Automating Cloud Operations: Everything You Wanted to Know about cURL and RESTAutomating Cloud Operations: Everything You Wanted to Know about cURL and REST
Automating Cloud Operations: Everything You Wanted to Know about cURL and RESTRevelation Technologies
 
Getting Started with API Management – Why It's Needed On-prem and in the Cloud
Getting Started with API Management – Why It's Needed On-prem and in the CloudGetting Started with API Management – Why It's Needed On-prem and in the Cloud
Getting Started with API Management – Why It's Needed On-prem and in the CloudRevelation Technologies
 
Automating Cloud Operations - Everything you wanted to know about cURL and RE...
Automating Cloud Operations - Everything you wanted to know about cURL and RE...Automating Cloud Operations - Everything you wanted to know about cURL and RE...
Automating Cloud Operations - Everything you wanted to know about cURL and RE...Revelation Technologies
 
Introducing the Oracle Cloud Infrastructure (OCI) Best Practices Framework
Introducing the Oracle Cloud Infrastructure (OCI) Best Practices FrameworkIntroducing the Oracle Cloud Infrastructure (OCI) Best Practices Framework
Introducing the Oracle Cloud Infrastructure (OCI) Best Practices FrameworkRevelation Technologies
 
Everything You Need to Know About the Microsoft Azure and Oracle Cloud Interc...
Everything You Need to Know About the Microsoft Azure and Oracle Cloud Interc...Everything You Need to Know About the Microsoft Azure and Oracle Cloud Interc...
Everything You Need to Know About the Microsoft Azure and Oracle Cloud Interc...Revelation Technologies
 
PTK Issue 72: Delivering a Platform on Demand
PTK Issue 72: Delivering a Platform on DemandPTK Issue 72: Delivering a Platform on Demand
PTK Issue 72: Delivering a Platform on DemandRevelation Technologies
 
PTK Issue 71: The Compute Cloud Performance Showdown
PTK Issue 71: The Compute Cloud Performance ShowdownPTK Issue 71: The Compute Cloud Performance Showdown
PTK Issue 71: The Compute Cloud Performance ShowdownRevelation Technologies
 
Everything You Need to Know About the Microsoft Azure and Oracle Cloud Interc...
Everything You Need to Know About the Microsoft Azure and Oracle Cloud Interc...Everything You Need to Know About the Microsoft Azure and Oracle Cloud Interc...
Everything You Need to Know About the Microsoft Azure and Oracle Cloud Interc...Revelation Technologies
 
Compute Cloud Performance Showdown: 18 Months Later (OCI, AWS, IBM Cloud, GCP...
Compute Cloud Performance Showdown: 18 Months Later (OCI, AWS, IBM Cloud, GCP...Compute Cloud Performance Showdown: 18 Months Later (OCI, AWS, IBM Cloud, GCP...
Compute Cloud Performance Showdown: 18 Months Later (OCI, AWS, IBM Cloud, GCP...Revelation Technologies
 
Compute Cloud Performance Showdown: 18 Months Later (OCI, AWS, IBM Cloud, GCP...
Compute Cloud Performance Showdown: 18 Months Later (OCI, AWS, IBM Cloud, GCP...Compute Cloud Performance Showdown: 18 Months Later (OCI, AWS, IBM Cloud, GCP...
Compute Cloud Performance Showdown: 18 Months Later (OCI, AWS, IBM Cloud, GCP...Revelation Technologies
 
The Microsoft Azure and Oracle Cloud Interconnect Everything You Need to Know
The Microsoft Azure and Oracle Cloud Interconnect Everything You Need to KnowThe Microsoft Azure and Oracle Cloud Interconnect Everything You Need to Know
The Microsoft Azure and Oracle Cloud Interconnect Everything You Need to KnowRevelation Technologies
 
Compute Cloud Performance Showdown: Amazon Web Services, Oracle Cloud, IBM ...
Compute Cloud  Performance Showdown: Amazon Web Services, Oracle  Cloud, IBM ...Compute Cloud  Performance Showdown: Amazon Web Services, Oracle  Cloud, IBM ...
Compute Cloud Performance Showdown: Amazon Web Services, Oracle Cloud, IBM ...Revelation Technologies
 
Securing your Oracle Fusion Middleware Environment, On-Prem and in the Cloud
Securing your Oracle Fusion Middleware Environment, On-Prem and in the CloudSecuring your Oracle Fusion Middleware Environment, On-Prem and in the Cloud
Securing your Oracle Fusion Middleware Environment, On-Prem and in the CloudRevelation Technologies
 
Developing Web Services from Scratch - For DBAs and Database Developers
Developing Web Services from Scratch - For DBAs and Database DevelopersDeveloping Web Services from Scratch - For DBAs and Database Developers
Developing Web Services from Scratch - For DBAs and Database DevelopersRevelation Technologies
 
Domain Partitions and Multitenancy in Oracle WebLogic Server 12c - Why It's U...
Domain Partitions and Multitenancy in Oracle WebLogic Server 12c - Why It's U...Domain Partitions and Multitenancy in Oracle WebLogic Server 12c - Why It's U...
Domain Partitions and Multitenancy in Oracle WebLogic Server 12c - Why It's U...Revelation Technologies
 

More from Revelation Technologies (20)

Operating System Security in the Cloud
Operating System Security in the CloudOperating System Security in the Cloud
Operating System Security in the Cloud
 
Getting Started with Terraform
Getting Started with TerraformGetting Started with Terraform
Getting Started with Terraform
 
Getting Started with API Management
Getting Started with API ManagementGetting Started with API Management
Getting Started with API Management
 
Automating Cloud Operations: Everything You Wanted to Know about cURL and REST
Automating Cloud Operations: Everything You Wanted to Know about cURL and RESTAutomating Cloud Operations: Everything You Wanted to Know about cURL and REST
Automating Cloud Operations: Everything You Wanted to Know about cURL and REST
 
Getting Started with API Management – Why It's Needed On-prem and in the Cloud
Getting Started with API Management – Why It's Needed On-prem and in the CloudGetting Started with API Management – Why It's Needed On-prem and in the Cloud
Getting Started with API Management – Why It's Needed On-prem and in the Cloud
 
Automating Cloud Operations - Everything you wanted to know about cURL and RE...
Automating Cloud Operations - Everything you wanted to know about cURL and RE...Automating Cloud Operations - Everything you wanted to know about cURL and RE...
Automating Cloud Operations - Everything you wanted to know about cURL and RE...
 
Introducing the Oracle Cloud Infrastructure (OCI) Best Practices Framework
Introducing the Oracle Cloud Infrastructure (OCI) Best Practices FrameworkIntroducing the Oracle Cloud Infrastructure (OCI) Best Practices Framework
Introducing the Oracle Cloud Infrastructure (OCI) Best Practices Framework
 
Everything You Need to Know About the Microsoft Azure and Oracle Cloud Interc...
Everything You Need to Know About the Microsoft Azure and Oracle Cloud Interc...Everything You Need to Know About the Microsoft Azure and Oracle Cloud Interc...
Everything You Need to Know About the Microsoft Azure and Oracle Cloud Interc...
 
PTK Issue 72: Delivering a Platform on Demand
PTK Issue 72: Delivering a Platform on DemandPTK Issue 72: Delivering a Platform on Demand
PTK Issue 72: Delivering a Platform on Demand
 
PTK Issue 71: The Compute Cloud Performance Showdown
PTK Issue 71: The Compute Cloud Performance ShowdownPTK Issue 71: The Compute Cloud Performance Showdown
PTK Issue 71: The Compute Cloud Performance Showdown
 
Everything You Need to Know About the Microsoft Azure and Oracle Cloud Interc...
Everything You Need to Know About the Microsoft Azure and Oracle Cloud Interc...Everything You Need to Know About the Microsoft Azure and Oracle Cloud Interc...
Everything You Need to Know About the Microsoft Azure and Oracle Cloud Interc...
 
Compute Cloud Performance Showdown: 18 Months Later (OCI, AWS, IBM Cloud, GCP...
Compute Cloud Performance Showdown: 18 Months Later (OCI, AWS, IBM Cloud, GCP...Compute Cloud Performance Showdown: 18 Months Later (OCI, AWS, IBM Cloud, GCP...
Compute Cloud Performance Showdown: 18 Months Later (OCI, AWS, IBM Cloud, GCP...
 
Compute Cloud Performance Showdown: 18 Months Later (OCI, AWS, IBM Cloud, GCP...
Compute Cloud Performance Showdown: 18 Months Later (OCI, AWS, IBM Cloud, GCP...Compute Cloud Performance Showdown: 18 Months Later (OCI, AWS, IBM Cloud, GCP...
Compute Cloud Performance Showdown: 18 Months Later (OCI, AWS, IBM Cloud, GCP...
 
The Microsoft Azure and Oracle Cloud Interconnect Everything You Need to Know
The Microsoft Azure and Oracle Cloud Interconnect Everything You Need to KnowThe Microsoft Azure and Oracle Cloud Interconnect Everything You Need to Know
The Microsoft Azure and Oracle Cloud Interconnect Everything You Need to Know
 
Cloud Integration Strategy
Cloud Integration StrategyCloud Integration Strategy
Cloud Integration Strategy
 
Compute Cloud Performance Showdown: Amazon Web Services, Oracle Cloud, IBM ...
Compute Cloud  Performance Showdown: Amazon Web Services, Oracle  Cloud, IBM ...Compute Cloud  Performance Showdown: Amazon Web Services, Oracle  Cloud, IBM ...
Compute Cloud Performance Showdown: Amazon Web Services, Oracle Cloud, IBM ...
 
Securing your Oracle Fusion Middleware Environment, On-Prem and in the Cloud
Securing your Oracle Fusion Middleware Environment, On-Prem and in the CloudSecuring your Oracle Fusion Middleware Environment, On-Prem and in the Cloud
Securing your Oracle Fusion Middleware Environment, On-Prem and in the Cloud
 
Developing Web Services from Scratch - For DBAs and Database Developers
Developing Web Services from Scratch - For DBAs and Database DevelopersDeveloping Web Services from Scratch - For DBAs and Database Developers
Developing Web Services from Scratch - For DBAs and Database Developers
 
Domain Partitions and Multitenancy in Oracle WebLogic Server 12c - Why It's U...
Domain Partitions and Multitenancy in Oracle WebLogic Server 12c - Why It's U...Domain Partitions and Multitenancy in Oracle WebLogic Server 12c - Why It's U...
Domain Partitions and Multitenancy in Oracle WebLogic Server 12c - Why It's U...
 
Scale Oracle WebLogic Server
Scale Oracle WebLogic ServerScale Oracle WebLogic Server
Scale Oracle WebLogic Server
 

Recently uploaded

From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilV3cube
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 

Recently uploaded (20)

From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 

Introduction to Oracle R for Big Data Analysis

  • 1. Introduction to R For Big Data Analysis Sunday,  October    25,  2015   2:30pm  –  3:15  pm   Moscone  South  –  303   Raastech, Inc. 2201 Cooperative Way, Suite 600 Herndon, VA 20171 +1-703-884-2223 info@raastech.com
  • 2. SIG Meetings at Oracle OpenWorld All meetings will be held in User Group Pavilion, Meeting Room, Moscone South Monday, October 26 •  IOUG Cloud Computing SIG Meet-Up: 10:00 a.m.—11:00 a.m. •  IOUG Oracle Enterprise Manager SIG: 5:00 p.m.—6:00 p.m. *Location: OTN Lounge, Moscone South* Tuesday, October 27 •  IOUG IoT SIG: 10:30 a.m.—11:30 a.m. •  IOUG BIWA SIG: 11:30 a.m.—12:30 p.m. Wednesday, October 28 •  IOUG Exadata SIG: 10:30 a.m.—11:30 a.m. •  IOUG RAC SIG: 1:00 p.m.—2:00 p.m. •  IOUG Oracle 12c SIG: 2:00 p.m.—3:00 p.m.
  • 3. © Raastech, Inc. 2015 | All rights reserved. Slide 3 of 51@Raastech About Me §  Harold Dost III @hdost §  7+ years of Oracle Middleware experience §  OCE (SOA Foundation Practitioner) §  Oracle ACE Associate §  From Michigan §  blog.raastech.com
  • 4. © Raastech, Inc. 2015 | All rights reserved. Slide 4 of 51@Raastech About Raastech §  Small systems integrator founded in 2009 §  Headquartered in the Washington DC area §  Specializes in Oracle Fusion Middleware §  Oracle Platinum Partner – 1 in 3,000 worldwide §  Oracle SOA Specialized – 1 in 1,500 worldwide §  Oracle ACE – 2 of 500 worldwide §  100% of consultants are Oracle certified §  100% of consultants present at major Oracle conferences §  100% of consultants have published books, whitepapers, or articles
  • 5. © Raastech, Inc. 2015 | All rights reserved. Slide 5 of 51@Raastech Outline 1.  Getting Started §  Installing R §  Installing Tools §  Getting Data 2.  Understanding R §  Data Types §  Functions §  Data Import Mechanisms
  • 6. © Raastech, Inc. 2015 | All rights reserved. Slide 6 of 51@Raastech Outline (Cont.) 3.  Manipulating Data (Large Data Sets) §  Deriving Simple Statistics §  Graphing 4.  Demo 5.  Incorporating into an Enterprise §  Using Enterprise Data Sources §  Running R in your environment. §  Familiarize with Oracle's R offerings
  • 7. © Raastech, Inc. 2015 | All rights reserved. Slide 7 of 51@Raastech
  • 8. © Raastech, Inc. 2015 | All rights reserved. Slide 8 of 51@Raastech Why use R? §  Strong Community §  Including packages §  Targeted for Statistical Analysis §  Less code
  • 9. © Raastech, Inc. 2015 | All rights reserved. Slide 9 of 51@Raastech Know CRAN §  Comprehensive §  R §  Archive §  Network
  • 10. © Raastech, Inc. 2015 | All rights reserved. Slide 10 of 51@Raastech Installing R §  Windows §  Mac §  Linux
  • 11. © Raastech, Inc. 2015 | All rights reserved. Slide 11 of 51@Raastech Installing R §  Windows https://cran.r-project.org/bin/windows/ §  Mac https://cran.r-project.org/bin/macosx/ §  Linux https://cran.r-project.org/bin/linux/
  • 12. © Raastech, Inc. 2015 | All rights reserved. Slide 12 of 51@Raastech Development Tools §  Rstudio - http://www.rstudio.com/products/rstudio/ §  Open Source Edition §  Commercial License - $995 §  Eclipse §  Sublime, TextPad, Other Simple Text Editors,…
  • 13. © Raastech, Inc. 2015 | All rights reserved. Slide 13 of 51@Raastech Installing Packages §  Anything From CRAN §  Anywhere install.packages(c(“first”, “second”)) > sudo R CMD INSTALL package-version.tar.gz
  • 14. © Raastech, Inc. 2015 | All rights reserved. Slide 14 of 51@Raastech
  • 15. © Raastech, Inc. 2015 | All rights reserved. Slide 15 of 51@Raastech Data Types §  Vectors §  Matrices §  Arrays §  Data Frames §  Lists §  Factors
  • 16. © Raastech, Inc. 2015 | All rights reserved. Slide 16 of 51@Raastech Everything is a Vector §  Scalars are vectors of 1 §  Basic Types (Atomic Vectors) §  Logical §  Integer §  Real §  Complex §  String/Character §  Raw
  • 17. © Raastech, Inc. 2015 | All rights reserved. Slide 17 of 51@Raastech Matrices and Arrays §  Require All the Same Type §  Matrix Functions: §  det(), t() , solve(), diag()
  • 18. © Raastech, Inc. 2015 | All rights reserved. Slide 18 of 51@Raastech Data Frames §  Special List §  Columns can have different types
  • 19. © Raastech, Inc. 2015 | All rights reserved. Slide 19 of 51@Raastech Special Values §  Infinity, Positive and Negative: Inf and –Inf §  Not A Number: NaN §  Not Available: NA §  Complex Numbers, 1+9i
  • 20. © Raastech, Inc. 2015 | All rights reserved. Slide 20 of 51@Raastech Use Case for Infinities §  Finding Maximums and Minimums §  Placeholder values when others won’t work
  • 21. © Raastech, Inc. 2015 | All rights reserved. Slide 21 of 51@Raastech Not a Number (NaN) §  In means something went wrong somewhere §  A missing argument §  Invalid number §  Check for with is.nan(x) to prevent leaking §  Don’t use “==“ to find NaN, it will only give more NaN
  • 22. © Raastech, Inc. 2015 | All rights reserved. Slide 22 of 51@Raastech Assigning NaN > a = NaN > a [1] NaN
  • 23. © Raastech, Inc. 2015 | All rights reserved. Slide 23 of 51@Raastech Adding NaN Adding NaN > b = 1 > c = a + b > c [1] NaN When  adding  a  number  to  NaN  “Not  a  Number”  you  will  get   NaN.  
  • 24. © Raastech, Inc. 2015 | All rights reserved. Slide 24 of 51@Raastech Comparing NaN to Regular Number > d = b == c > d [1] NA When  comparing  a  number  to  NaN  “Not  a  Number”  you  will   get  NA.  
  • 25. © Raastech, Inc. 2015 | All rights reserved. Slide 25 of 51@Raastech Comparing NaN to NaN > e = c == a > e [1] NA When  comparing  NaN  “Not  a  Number”  to  NaN  you  will  get  NA.  
  • 26. © Raastech, Inc. 2015 | All rights reserved. Slide 26 of 51@Raastech Detecting NaN > a [1] NaN > is.nan(a) [1] TRUE > is.na(a) [1] TRUE Since  NaN  aren’t  proper  numbers,  special  funcHons  must  be   used  to  detect  them.  They  are  the  result  of  math  gone  wrong.  
  • 27. © Raastech, Inc. 2015 | All rights reserved. Slide 27 of 51@Raastech Detecting NA > e = c == a > e [1] NA > is.nan(e) [1] FALSE > is.na(e) [1] TRUE Just  as  with  NaN  special  funcHons  must  be  used,  but  NA   generally  indicates  that  there  is  missing  informaHon    
  • 28. © Raastech, Inc. 2015 | All rights reserved. Slide 28 of 51@Raastech Operators §  Assignment ( ->, <-) §  Addition (+) §  Subtraction (–) §  Division (/) §  Multiplication (*) §  Exponent (^) §  Parentheses ( (, ) )
  • 29. © Raastech, Inc. 2015 | All rights reserved. Slide 29 of 51@Raastech
  • 30. © Raastech, Inc. 2015 | All rights reserved. Slide 30 of 51@Raastech Math Functions §  max() §  min() §  log() §  sqrt()
  • 31. © Raastech, Inc. 2015 | All rights reserved. Slide 31 of 51@Raastech Deriving Simple Statistics §  Minimum §  Maximum §  Median §  Arithmetic Mean §  Function estimation §  Linear §  Log §  Exponential §  R-Values §  Standard Deviation
  • 32. © Raastech, Inc. 2015 | All rights reserved. Slide 32 of 51@Raastech How to define your own functions firstfunction <- function(arg1, arg2, ... ){ statements return(someoutput) }
  • 33. © Raastech, Inc. 2015 | All rights reserved. Slide 33 of 51@Raastech
  • 34. © Raastech, Inc. 2015 | All rights reserved. Slide 34 of 51@Raastech Twitter Example §  First Install the Package install.packages(c("twitteR”))
  • 35. © Raastech, Inc. 2015 | All rights reserved. Slide 35 of 51@Raastech Twitter Example §  Authenticate consumer = "CONSUMER KEY" secret = "SECRET KEY" setup_twitter_oauth(consumer,secret)
  • 36. © Raastech, Inc. 2015 | All rights reserved. Slide 36 of 51@Raastech Twitter Example §  Get Trend Locations §  The resulting WOEID (Where on Earth ID) can be chosen availableTrendLocations()
  • 37. © Raastech, Inc. 2015 | All rights reserved. Slide 37 of 51@Raastech Twitter Example §  Get Trends trends = getTrends(SOMEWOEID)
  • 38. © Raastech, Inc. 2015 | All rights reserved. Slide 38 of 51@Raastech Twitter Example §  Retrieve Tweets tweets <- searchTwitter(trends[XX,XX],n=1500) tweetdf <- do.call("rbind",lapply(tweets,as.data.frame))
  • 39. © Raastech, Inc. 2015 | All rights reserved. Slide 39 of 51@Raastech Twitter Example §  Filter §  complete.cases is used to check for NA and NaN numbers tweetdf <- tweetdf[complete.cases(tweetdf[,15]),] tweetdf <- tweetdf[tweetdf[,15] != 0,]
  • 40. © Raastech, Inc. 2015 | All rights reserved. Slide 40 of 51@Raastech Twitter Example §  Simplify the dataframe simpledf <- tweetdf[c("screenName","longitude","latitude")]
  • 41. © Raastech, Inc. 2015 | All rights reserved. Slide 41 of 51@Raastech Twitter Example §  Create Matrix from Dataframe tweetMatrix <- data.matrix(simpledf[2:3],rownames.force = FALSE)
  • 42. © Raastech, Inc. 2015 | All rights reserved. Slide 42 of 51@Raastech Twitter Example §  Plot the Latitude and Longitude plot(tweetMatrix)
  • 43. © Raastech, Inc. 2015 | All rights reserved. Slide 43 of 51@Raastech Graphing §  Image §  Contour §  Box Chart
  • 44. © Raastech, Inc. 2015 | All rights reserved. Slide 44 of 51@Raastech K-Means §  Essentially a search algorithm §  Divides a dataset into k-clusters
  • 45. © Raastech, Inc. 2015 | All rights reserved. Slide 45 of 51@Raastech Time Series §  Stock Quotes §  Infection Incidents §  Gas Prices §  Audio §  Etc. Source:  hKp://www.loc.gov/pictures/resource/hec.23488/  
  • 46. © Raastech, Inc. 2015 | All rights reserved. Slide 46 of 51@Raastech Data Sources NASA - https://data.nasa.gov Quandl - https://www.quandl.com
  • 47. © Raastech, Inc. 2015 | All rights reserved. Slide 47 of 51@Raastech Time Series Analysis §  Regression §  Forecasting §  Time Frequency (FFTs) Source:  hKp://groups.csail.mit.edu/netmit/sFFT/algorithm.html  
  • 48. © Raastech, Inc. 2015 | All rights reserved. Slide 48 of 51@Raastech
  • 49. © Raastech, Inc. 2015 | All rights reserved. Slide 49 of 51@Raastech Using Enterprise Data Sources §  Database §  Streams §  Files §  Etc.
  • 50. © Raastech, Inc. 2015 | All rights reserved. Slide 50 of 51@Raastech
  • 51. © Raastech, Inc. 2015 | All rights reserved. Slide 51 of 51@Raastech Oracle R Distribution §  Available on Oracle Public Yum §  Enhanced dynamic Library loading §  Enterprise Support Available §  Oracle Advanced Analytics §  Oracle Linux §  Oracle Big Data Appliance §  http://www.oracle.com/technetwork/database/database-technologies/r/r- distribution/overview/index.html
  • 52. © Raastech, Inc. 2015 | All rights reserved. Slide 52 of 51@Raastech ROracle §  Open Source Package §  Maintained by Oracle §  Uses OCI Interface to interact with databases §  http://www.oracle.com/technetwork/database/database-technologies/r/r- technologies/overview/index.html
  • 53. © Raastech, Inc. 2015 | All rights reserved. Slide 53 of 51@Raastech Oracle R Advanced Analytics for Hadoop §  Component of the Oracle Big Data Software Connectors Suite, an option for the BDA §  Provides abstraction from HiveQL through R just as in Oracle R Enterprise does for SQL §  http://www.oracle.com/technetwork/database/ database-technologies/bdc/r-advanalytics-for- hadoop/overview/index.html
  • 54. © Raastech, Inc. 2015 | All rights reserved. Slide 54 of 51@Raastech Oracle R Enterprise §  Component of the Oracle Advanced Analytics Option on Oracle Database EE §  Allows use of R in the database without SQL §  Save R Objects in the database §  Easily Integrate with OBIEE §  http://www.oracle.com/technetwork/database/database- technologies/r/r-enterprise/overview/index.html
  • 55. © Raastech, Inc. 2015 | All rights reserved. Slide 55 of 51@Raastech
  • 56. © Raastech, Inc. 2015 | All rights reserved. Slide 56 of 51@Raastech Contact Information §  Harold Dost III §  Principal Consultant §  @hdost §  harold.dost@raastech.com
  • 57. © Raastech, Inc. 2015 | All rights reserved. Slide 57 of 51@Raastech Resources §  https://en.wikibooks.org/wiki/Statistical_Analysis:_an_Introduction_using_R/R_basics §  http://www.r-project.org/ §  https://docs.oracle.com/cd/E57012_01/doc.141/e56973/toc.htm §  http://cran.r-project.org/web/packages/akmeans/index.html §  http://cran.r-project.org/web/packages/twitteR/index.html §  http://en.wikipedia.org/wiki/K-means_clustering §  http://www.rdatamining.com/examples/kmeans-clustering §  http://blog.revolutionanalytics.com/2009/02/how-to-choose-a-random-number-in-r.html §  https://www.packtpub.com/books/content/text-mining-r-part-2 §  http://www.eia.gov/totalenergy/data/monthly/index.cfm#consumption