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
77
Extending RStudio with Git(Hub)
aswansyahputra
0
98
Data rectangling in R: a journey from JSON to CSV
aswansyahputra
0
360
Data Carpentry with Tidyverse
aswansyahputra
0
200
Basic Git+GitHub
aswansyahputra
1
320
Introduction to R +
aswansyahputra
1
320
R (+) for Data Science
aswansyahputra
0
110
R + RStudio Tips and Tricks
aswansyahputra
0
170
Blogging with R
aswansyahputra
0
110
Other Decks in Programming
See All in Programming
開発チーム・開発組織の設計改善スキルの向上
masuda220
PRO
16
9k
A Gopher's Guide to Vibe Coding
danicat
0
180
WebAssemblyインタプリタを書く ~Component Modelを添えて~
ruccho
1
930
個人軟體時代
ethanhuang13
0
130
Jakarta EE Core Profile and Helidon - Speed, Simplicity, and AI Integration
ivargrimstad
0
230
AIレビュアーをスケールさせるには / Scaling AI Reviewers
technuma
2
230
The State of Fluid (2025)
s2b
0
200
AI OCR API on Lambdaを Datadogで可視化してみた
nealle
0
210
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
210
私の後悔をAWS DMSで解決した話
hiramax
4
160
ソフトウェアテスト徹底指南書の紹介
goyoki
1
120
Namespace and Its Future
tagomoris
6
610
Featured
See All Featured
Reflections from 52 weeks, 52 projects
jeffersonlam
351
21k
Designing for humans not robots
tammielis
253
25k
A Tale of Four Properties
chriscoyier
160
23k
Stop Working from a Prison Cell
hatefulcrawdad
271
21k
How to train your dragon (web standard)
notwaldorf
96
6.2k
Optimizing for Happiness
mojombo
379
70k
Designing for Performance
lara
610
69k
The Straight Up "How To Draw Better" Workshop
denniskardys
236
140k
Code Review Best Practice
trishagee
70
19k
Art, The Web, and Tiny UX
lynnandtonic
302
21k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
570
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
34
6k
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