Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
arrow + ergo
Search
Romain François
July 12, 2018
Programming
0
370
arrow + ergo
Presentation at useR! 2018, Brisbane.
Romain François
July 12, 2018
Tweet
Share
More Decks by Romain François
See All by Romain François
dplyr 1.0.0 / Paris R-addicts
romainfrancois
0
250
dplyr 1.0.0
romainfrancois
1
1.3k
dplyr episode 9, summarise() of the vctrs
romainfrancois
0
1k
dplyr episode 9: summarise() of the vctrs
romainfrancois
0
350
n() cool #dplyr things
romainfrancois
2
3k
dance
romainfrancois
0
290
rap and splice girls
romainfrancois
0
380
rap
romainfrancois
0
120
ergo
romainfrancois
0
280
Other Decks in Programming
See All in Programming
Patterns of Patterns
denyspoltorak
0
460
Honoを使ったリモートMCPサーバでAIツールとの連携を加速させる!
tosuri13
1
120
Cap'n Webについて
yusukebe
0
170
[AtCoder Conference 2025] LLMを使った業務AHCの上⼿な解き⽅
terryu16
6
1k
Architectural Extensions
denyspoltorak
0
100
re:Invent 2025 のイケてるサービスを紹介する
maroon1st
0
170
Python札幌 LT資料
t3tra
7
1.1k
AI Agent Dojo #4: watsonx Orchestrate ADK体験
oniak3ibm
PRO
0
130
dchart: charts from deck markup
ajstarks
3
960
フロントエンド開発の勘所 -複数事業を経験して見えた判断軸の違い-
heimusu
7
2.5k
Giselleで作るAI QAアシスタント 〜 Pull Requestレビューに継続的QAを
codenote
0
340
メルカリのリーダビリティチームが取り組む、AI時代のスケーラブルな品質文化
cloverrose
2
470
Featured
See All Featured
Docker and Python
trallard
47
3.7k
Google's AI Overviews - The New Search
badams
0
890
Building Adaptive Systems
keathley
44
2.9k
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
1
610
Code Reviewing Like a Champion
maltzj
527
40k
Imperfection Machines: The Place of Print at Facebook
scottboms
269
13k
We Have a Design System, Now What?
morganepeng
54
8k
sira's awesome portfolio website redesign presentation
elsirapls
0
110
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
200
Making the Leap to Tech Lead
cromwellryan
135
9.7k
Bootstrapping a Software Product
garrettdimon
PRO
307
120k
New Earth Scene 8
popppiees
1
1.4k
Transcript
http://bit.ly/romain-useR2018 aerrrgow
[email protected]
@romain_francois ergo arrow
None
None
None
cross-language development platform for in-memory data Apache Arrow
None
future •sparklyr integration •dplyr backend •...
[email protected]
@romain_francois e r go
None
None
•Open source •Google •Simple •Fast enough •Concurrent
https://www.docker.com
https://bookdown.org/yihui/blogdown/
https://www.rstudio.com/products/connect/
package main import "fmt" func fahrenheit(celcius float64) float64 { return
celcius * 1.8 + 32 } func main() { var freezing float64 = fahrenheit(0.0) boiling := fahrenheit(100.0) fmt.Printf("Water freezes at %4.2f F\n", freezing) fmt.Printf("Water boils at %4.2f F\n", boiling) }
package main import "fmt" func fahrenheit(celcius float64) float64 { return
celcius * 1.8 + 32 } func main() { var freezing float64 = fahrenheit(0.0) boiling := fahrenheit(100.0) fmt.Printf("Water freezes at %4.2f F\n", freezing) fmt.Printf("Water boils at %4.2f F\n", boiling) }
$ go run fahrenheit.go Water freezes at 32.00 F Water
boils at 212.00 F
purrple.cat/tags/go/
purrple.cat/tags/go/
None
library(rvest) library(glue) library(fahrenheit) library(tibble) library(dplyr) temperature <- function(where){ glue("https://wttr.in/{where}") %>%
read_html() %>% html_node("span:nth-child(3)") %>% html_text() %>% as.numeric() } temperature("Brisbane") %>% tibble(celcius = .) %>% mutate(fahrenheit = fahrenheit(celcius)) #> # A tibble: 1 x 2 #> celcius fahrenheit #> <dbl> <dbl> #> 1 20 68 #' Created on 2018-07-12 by the [reprex package](http://reprex.tidyverse.org) (v0.2.0).
$ tree . !"" DESCRIPTION !"" NAMESPACE !"" R #
$"" fahrenheit.R !"" fahrenheit.Rproj !"" man $"" src !"" Makevars !"" fahrenheit.h !"" fahrenheit.so $"" go $"" src !"" fahrenheit # $"" fahrenheit.go $"" main !"" main.c $"" main.go 7 directories, 10 files fahrenheit main } }
package fahrenheit func Fahrenheit(celcius float64) float64 { return celcius *
1.8 + 32 } src/go/src/fahrenheit/fahrenheit.go
package main import "C" import "fahrenheit" //export Fahrenheit func Fahrenheit(x
float64) float64 { return fahrenheit.Fahrenheit(x) ; } func main() {} src/go/src/main/main.go
#include <R.h> #include <Rinternals.h> #include "_cgo_export.h" SEXP _fahrenheit(SEXP x){ return
Rf_ScalarReal(Fahrenheit(REAL(x)[0]); } src/go/src/main/main.c
#' @useDynLib fahrenheit #' @export fahrenheit <- function(celcius) { .Call("_fahrenheit",
celcius, PACKAGE = "fahrenheit" ) } R/fahrenheit.R
.PHONY: go CGO_CFLAGS = "$(ALL_CPPFLAGS)" CGO_LDFLAGS = "$(PKG_LIBS) $(SHLIB_LIBADD) $(LIBR)"
GOPATH = $(CURDIR)/go go: CGO_CFLAGS=$(CGO_CFLAGS) CGO_LDFLAGS=$(CGO_LDFLAGS) \ GOPATH=$(GOPATH) /usr/local/go/bin/go \ build -o $(SHLIB) -x -buildmode=c-shared main src/Makevars
future
None
None
None
[email protected]
@romain_francois http://bit.ly/romain-useR2018