Slide 1

Slide 1 text

R ? Vous avez dit R ? Colin FAY - ThinkR 2018-01-24 Colin FAY - https://twitter.com/_ColinFay — ThinkR - http://thinkr.fr — 1 / 38

Slide 2

Slide 2 text

$ whoami Colin FAY Data Analyst, formateur R, Social Media Manager chez ThinkR, agence spécialisée en Data Science et en langage R. Cofondateur du Breizh Data Club, et fondateur de Data-Bzh, la première plateforme de data-blogging bretonne. http://thinkr.fr http://breizhdataclub.org http://data-bzh.fr http://twitter.com/_colinfay http://github.com/colinfay Colin FAY - https://twitter.com/_ColinFay — ThinkR - http://thinkr.fr — 2 / 38

Slide 3

Slide 3 text

ThinkR Colin FAY - https://twitter.com/_ColinFay — ThinkR - http://thinkr.fr — 3 / 38

Slide 4

Slide 4 text

Agence d'expert en Data Science et en langage R Formation Analyse Développement Consulting ThinkR Colin FAY - https://twitter.com/_ColinFay — ThinkR - http://thinkr.fr — 4 / 38

Slide 5

Slide 5 text

R, vous avez dit R ? Colin FAY - https://twitter.com/_ColinFay — ThinkR - http://thinkr.fr — 5 / 38

Slide 6

Slide 6 text

Au programme : C'est quoi R ? R, ça sert à quoi ? Atelier Colin FAY - https://twitter.com/_ColinFay — ThinkR - http://thinkr.fr — 6 / 38

Slide 7

Slide 7 text

ThinkR Colin FAY - https://twitter.com/_ColinFay — ThinkR - http://thinkr.fr — 7 / 38

Slide 8

Slide 8 text

Un peu d'histoire Aout 1993 : création de R comme projet de recherche par Ross Ihaka et Robert Gentleman 1995 : premier release en open source 1997 : première version "officielle", avec 12 packages, et 3 mirroirs du CRAN. Formation du R core group. 2001 : sortie de la version 1.0, première version stable en production 2003 : création de la R Foundation 2004 : sortie de la version 2 2013 : sortie de la version 3 2017 : 10 000 packages sur le CRAN Colin FAY - https://twitter.com/_ColinFay — ThinkR - http://thinkr.fr — 8 / 38

Slide 9

Slide 9 text

Langage de programmation, lingua franca de la Data Science Open Source Gratuit Multiplateforme Modulable C'est quoi R ? Colin FAY - https://twitter.com/_ColinFay — ThinkR - http://thinkr.fr — 9 / 38

Slide 10

Slide 10 text

Une grande communauté d'utilisateurs et de développeurs R est plébiscité par 3 millions d'utilisateurs 2 dépôts officiels : le CRAN et Bioconductor Une plateforme de développement ouverte : GitHub Jeudi dernier, il y avait sur le CRAN pas moins de 12 000 packages disponibles Le même jour, une recherche GitHub de language:R renvoit presque 200 000 résultats. Colin FAY - https://twitter.com/_ColinFay — ThinkR - http://thinkr.fr — 10 / 38

Slide 11

Slide 11 text

Fonctionnalités natives import et export de tables calculs matriciels optimisés modélisation statistiques courantes moteur graphique puissant Fonctionnalités additionnelles Les packages (bibliothèques additionnelles) : Apportent de nouvelles fonctionnalités au logiciel Sont créés et maintenus par la communauté Sont téléchargeables sur un dépôt centralisé sécurisé C'est quoi R ? Colin FAY - https://twitter.com/_ColinFay — ThinkR - http://thinkr.fr — 11 / 38

Slide 12

Slide 12 text

Un système Open Source la R Development Core Team : l'équipe de développement de R base la R Foundation : ONG d'intérêt public (Fondation pour le logiciel libre) dont les missions sont de supporter la Core Team le R Consortium : Projet collaboratif de la fondation Linux, fournit support à la R Foundation et à la communauté de développeurs via des bourses (~500 k$ de budget annuel) ROpenSci : Projet communautaire supporté par NumFocus pour la Science Reproductible Colin FAY - https://twitter.com/_ColinFay — ThinkR - http://thinkr.fr — 12 / 38

Slide 13

Slide 13 text

R, ça sert à quoi ? Colin FAY - https://twitter.com/_ColinFay — ThinkR - http://thinkr.fr — 13 / 38

Slide 14

Slide 14 text

Avant tout, un langage de programmation Colin FAY - https://twitter.com/_ColinFay — ThinkR - http://thinkr.fr — 14 / 38

Slide 15

Slide 15 text

RStudio Colin FAY - https://twitter.com/_ColinFay — ThinkR - http://thinkr.fr — 15 / 38

Slide 16

Slide 16 text

Principales fonctionnalités de R Import et export de données Statistique simples à avancées Manipulation de données (filter, join, summarise...) Sortie graphique de qualité Interfaçage simple et rapide avec d'autres langages de programmation Outils pensé pour une utilisation interactive (exploration de données), mais aussi automatisable (sur serveur) Environnement dédié à la reproductibilité Intégration simplifiée avec Git Connexion aux bases de données Application web, rapports automatisés, blogs, livres... Colin FAY - https://twitter.com/_ColinFay — ThinkR - http://thinkr.fr — 16 / 38

Slide 17

Slide 17 text

Principales fonctionnalités de R Import et export de données via http://www.sthda.com Colin FAY - https://twitter.com/_ColinFay — ThinkR - http://thinkr.fr — 17 / 38

Slide 18

Slide 18 text

Principales fonctionnalités de R Statistique simples à avancées summary(lm(Sepal.Length ~ Sepal.Width, data = iris)) #> #> Call: #> lm(formula = Sepal.Length ~ Sepal.Width, data = iris) #> #> Residuals: #> Min 1Q Median 3Q Max #> -1.5561 -0.6333 -0.1120 0.5579 2.2226 #> #> Coefficients: #> Estimate Std. Error t value Pr(>|t|) #> (Intercept) 6.5262 0.4789 13.63 <2e-16 *** #> Sepal.Width -0.2234 0.1551 -1.44 0.152 #> --- #> Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1 #> #> Residual standard error: 0.8251 on 148 degrees of freedom #> Multiple R-squared: 0.01382, Adjusted R-squared: 0.007159 #> F-statistic: 2.074 on 1 and 148 DF, p-value: 0.1519 Colin FAY - https://twitter.com/_ColinFay — ThinkR - http://thinkr.fr — 18 / 38

Slide 19

Slide 19 text

Principales fonctionnalités de R Statistique simples à avancées Colin FAY - https://twitter.com/_ColinFay — ThinkR - http://thinkr.fr — 19 / 38

Slide 20

Slide 20 text

Principales fonctionnalités de R Sortie graphique de qualité Colin FAY - https://twitter.com/_ColinFay — ThinkR - http://thinkr.fr — 20 / 38

Slide 21

Slide 21 text

Principales fonctionnalités de R Interfaçage simple et rapide avec d'autres langages de programmation Colin FAY - https://twitter.com/_ColinFay — ThinkR - http://thinkr.fr — 21 / 38

Slide 22

Slide 22 text

Principales fonctionnalités de R Environnement dédié à la reproductibilité Colin FAY - https://twitter.com/_ColinFay — ThinkR - http://thinkr.fr — 22 / 38

Slide 23

Slide 23 text

Principales fonctionnalités de R Intégration simplifiée avec Git Colin FAY - https://twitter.com/_ColinFay — ThinkR - http://thinkr.fr — 23 / 38

Slide 24

Slide 24 text

Principales fonctionnalités de R Connexion aux bases de données Colin FAY - https://twitter.com/_ColinFay — ThinkR - http://thinkr.fr — 24 / 38

Slide 25

Slide 25 text

Principales fonctionnalités de R Application web, rapports automatisés, blogs, livres... Colin FAY - https://twitter.com/_ColinFay — ThinkR - http://thinkr.fr — 25 / 38

Slide 26

Slide 26 text

Facebook Google Twitter Microsoft Uber Airbnb IBM Ford Capgemini Deloitte Consulting Gartner KPMG Un usage en entreprise Source : http://www.listendata.com/2016/12/companies-using-r.html Et en France ? EDF, BNP Paribas, SNCF, Sanofi, RTE, Servier, Orange, Axa, INSEE, Ipsos, Banque de France, CNRS... Colin FAY - https://twitter.com/_ColinFay — ThinkR - http://thinkr.fr — 26 / 38

Slide 27

Slide 27 text

Un usage en entreprise Colin FAY - https://twitter.com/_ColinFay — ThinkR - http://thinkr.fr — 27 / 38

Slide 28

Slide 28 text

Un usage en entreprise Colin FAY - https://twitter.com/_ColinFay — ThinkR - http://thinkr.fr — 28 / 38

Slide 29

Slide 29 text

Un usage en entreprise Colin FAY - https://twitter.com/_ColinFay — ThinkR - http://thinkr.fr — 29 / 38

Slide 30

Slide 30 text

Un usage en entreprise Colin FAY - https://twitter.com/_ColinFay — ThinkR - http://thinkr.fr — 30 / 38

Slide 31

Slide 31 text

Un usage pour les médias Colin FAY - https://twitter.com/_ColinFay — ThinkR - http://thinkr.fr — 31 / 38

Slide 32

Slide 32 text

R, et plus loin Colin FAY - https://twitter.com/_ColinFay — ThinkR - http://thinkr.fr — 32 / 38

Slide 33

Slide 33 text

Les slides que vous avez en ce moment sous les yeux Beamer ioslide slidy Des présentations Colin FAY - https://twitter.com/_ColinFay — ThinkR - http://thinkr.fr — 33 / 38

Slide 34

Slide 34 text

timelyportfolio.github.io/rCharts_nyt_home_price https://rstudio.github.io/tufte/ svm-rmarkdown-article- example.pdf https://thinkr.fr/rr2017/ Des Rapports Colin FAY - https://twitter.com/_ColinFay — ThinkR - http://thinkr.fr — 34 / 38

Slide 35

Slide 35 text

shiny.thinkr.fr:8080/app/legislatives shiny.thinkr.fr:8080/app/tweetstorm shiny.thinkr.fr:8080/app/prenoms https://alexkruse.shinyapps.io/stadtrad/ Des applications web avec Shiny Colin FAY - https://twitter.com/_ColinFay — ThinkR - http://thinkr.fr — 35 / 38

Slide 36

Slide 36 text

https://yihui.name/ http://amber.rbind.io/ https://brfry.github.io/ https://forwards.github.io/ Des sites web Colin FAY - https://twitter.com/_ColinFay — ThinkR - http://thinkr.fr — 36 / 38

Slide 37

Slide 37 text

http://r4ds.had.co.nz/ https://www.tidytextmining.com/ https://csgillespie.github.io/efficientR/ http://colinfay.me/r-manuals/ Des livres Colin FAY - https://twitter.com/_ColinFay — ThinkR - http://thinkr.fr — 37 / 38

Slide 38

Slide 38 text

colin@thinkr.fr http://twitter.com/_colinfay http://twitter.com/thinkr_fr https://github.com/ColinFay https://thinkr.fr/ http://colinfay.me/ breizhdataclub.org/ Atelier Rendez-vous sur : https://github.com/ThinkR-open/meetup-r Suivez le guide ! Merci ! Colin Fay Colin FAY - https://twitter.com/_ColinFay — ThinkR - http://thinkr.fr — 38 / 38