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
Let's build your first RStudio and Addins
Search
Muhammad Aswan Syahputra
March 23, 2019
Programming
0
140
Let's build your first RStudio and Addins
Perbanas Institute X R Indonesia "Kopdar useR! Jakarta"
Muhammad Aswan Syahputra
March 23, 2019
Tweet
Share
More Decks by Muhammad Aswan Syahputra
See All by Muhammad Aswan Syahputra
#DS101: understanding the basics
aswansyahputra
0
91
Extending RStudio with Git(Hub)
aswansyahputra
0
120
Data rectangling in R: a journey from JSON to CSV
aswansyahputra
0
380
Data Carpentry with Tidyverse
aswansyahputra
0
200
Basic Git+GitHub
aswansyahputra
1
330
Introduction to R +
aswansyahputra
1
320
R (+) for Data Science
aswansyahputra
0
120
R + RStudio Tips and Tricks
aswansyahputra
0
170
Blogging with R
aswansyahputra
0
110
Other Decks in Programming
See All in Programming
PostgreSQLで手軽にDuckDBを使う!DuckDB&pg_duckdb入門/osc25hi-duckdb
takahashiikki
0
250
JETLS.jl ─ A New Language Server for Julia
abap34
2
480
Findy AI+の開発、運用におけるMCP活用事例
starfish719
0
2.2k
HTTPプロトコル正しく理解していますか? 〜かわいい猫と共に学ぼう。ฅ^•ω•^ฅ ニャ〜
hekuchan
2
640
Unicodeどうしてる? PHPから見たUnicode対応と他言語での対応についてのお伺い
youkidearitai
PRO
0
580
QAフローを最適化し、品質水準を満たしながらリリースまでの期間を最短化する #RSGT2026
shibayu36
1
2.6k
CSC307 Lecture 02
javiergs
PRO
1
760
TestingOsaka6_Ozono
o3
0
280
MDN Web Docs に日本語翻訳でコントリビュート
ohmori_yusuke
0
500
Data-Centric Kaggle
isax1015
2
570
疑似コードによるプロンプト記述、どのくらい正確に実行される?
kokuyouwind
0
250
CSC307 Lecture 05
javiergs
PRO
0
470
Featured
See All Featured
For a Future-Friendly Web
brad_frost
180
10k
Scaling GitHub
holman
464
140k
Side Projects
sachag
455
43k
Writing Fast Ruby
sferik
630
62k
The SEO identity crisis: Don't let AI make you average
varn
0
52
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
42
Discover your Explorer Soul
emna__ayadi
2
1k
The Invisible Side of Design
smashingmag
302
51k
Crafting Experiences
bethany
0
32
Why Our Code Smells
bkeepers
PRO
340
58k
Building AI with AI
inesmontani
PRO
1
630
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
196
71k
Transcript
Let’s build your first RStudio snippets and Addins! @aswansyahputra Muhammad
Aswan Syahputra
R (+)
Main features: • Console • Syntax-highlighting editor • Tools for
plotting, history, debugging and workspace management
Dig the gems!
Snippets • Put your codes into reusable template • Less
typing • Less error • Less time • Preset available, but a lot of room for customisation!
Snippets • Go to Tools – Global Options – Code
• Check ‘Enable code snippets’ • Click ‘Edit snippets’ for editing snippet name put your code here... snippet name put your code here... snippet name fun(arg1 = ${1:arg1} snippet name fun(arg1 = ${1:arg1}
Addins • Gadget for RStudio • Basically are functions •
Turn line of codes into GUI • Do magical things!
Addins Try them out! • datapasta • reprex • styler
• colourpicker • regexplain • ggThemeAssist DESCRIPTION LICENSE NAMESPACE R/ yourfunction.R inst/ rstudio/ addins.dcf DESCRIPTION LICENSE NAMESPACE R/ yourfunction.R inst/ rstudio/ addins.dcf Name: this_addin Description: do_that Binding: yourfunction Interatice: true/false Name: this_addin Description: do_that Binding: yourfunction Interatice: true/false
Let’s make them! s.id/snippetsaddins
Next? Have fun!
Telegram: @GNURIndonesia (t.me/GNURIndonesia) Web: www.r-indonesia.id GitHub: www.github.com/indo-r R Indonesia
R Indonesia
Thanks!
[email protected]
www.aswansyahputra.com speakerdeck.com/aswansyahputra