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
責任感のあるCloudWatchアラームを設計しよう
akihisaikeda
3
170
Automatic Grammar Agreementと Markdown Extended Attributes について
kishikawakatsumi
0
180
CSC307 Lecture 01
javiergs
PRO
0
690
Basic Architectures
denyspoltorak
0
670
AI時代のキャリアプラン「技術の引力」からの脱出と「問い」へのいざない / tech-gravity
minodriven
21
7.1k
例外処理とどう使い分ける?Result型を使ったエラー設計 #burikaigi
kajitack
16
6k
今から始めるClaude Code超入門
448jp
8
8.6k
Fragmented Architectures
denyspoltorak
0
150
副作用をどこに置くか問題:オブジェクト指向で整理する設計判断ツリー
koxya
1
600
プロダクトオーナーから見たSOC2 _SOC2ゆるミートアップ#2
kekekenta
0
200
AI Schema Enrichment for your Oracle AI Database
thatjeffsmith
0
270
CSC307 Lecture 03
javiergs
PRO
1
490
Featured
See All Featured
Code Reviewing Like a Champion
maltzj
527
40k
YesSQL, Process and Tooling at Scale
rocio
174
15k
The Curious Case for Waylosing
cassininazir
0
230
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
0
140
Building an army of robots
kneath
306
46k
For a Future-Friendly Web
brad_frost
182
10k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
270
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
380
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
359
30k
The browser strikes back
jonoalderson
0
360
The agentic SEO stack - context over prompts
schlessera
0
630
Raft: Consensus for Rubyists
vanstee
141
7.3k
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