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
67
Extending RStudio with Git(Hub)
aswansyahputra
0
82
Data rectangling in R: a journey from JSON to CSV
aswansyahputra
0
350
Data Carpentry with Tidyverse
aswansyahputra
0
190
Basic Git+GitHub
aswansyahputra
1
310
Introduction to R +
aswansyahputra
1
310
R (+) for Data Science
aswansyahputra
0
100
R + RStudio Tips and Tricks
aswansyahputra
0
160
Blogging with R
aswansyahputra
0
99
Other Decks in Programming
See All in Programming
A Journey of Contribution and Collaboration in Open Source
ivargrimstad
0
950
Laravel や Symfony で手っ取り早く OpenAPI のドキュメントを作成する
azuki
2
120
TypeScript Graph でコードレビューの心理的障壁を乗り越える
ysk8hori
2
1.1k
ふかぼれ!CSSセレクターモジュール / Fukabore! CSS Selectors Module
petamoriken
0
150
NSOutlineView何もわからん:( 前編 / I Don't Understand About NSOutlineView :( Pt. 1
usagimaru
0
340
Jakarta EE meets AI
ivargrimstad
0
580
Webの技術スタックで マルチプラットフォームアプリ開発を可能にするElixirDesktopの紹介
thehaigo
2
1k
色々なIaCツールを実際に触って比較してみる
iriikeita
0
330
リアーキテクチャxDDD 1年間の取り組みと進化
hsawaji
1
220
Arm移行タイムアタック
qnighy
0
330
【Kaigi on Rails 2024】YOUTRUST スポンサーLT
krpk1900
1
330
cmp.Or に感動した
otakakot
3
190
Featured
See All Featured
XXLCSS - How to scale CSS and keep your sanity
sugarenia
246
1.3M
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
131
33k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
126
18k
Producing Creativity
orderedlist
PRO
341
39k
What's new in Ruby 2.0
geeforr
343
31k
KATA
mclloyd
29
14k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
0
96
Practical Orchestrator
shlominoach
186
10k
Typedesign – Prime Four
hannesfritz
40
2.4k
For a Future-Friendly Web
brad_frost
175
9.4k
Build The Right Thing And Hit Your Dates
maggiecrowley
33
2.4k
5 minutes of I Can Smell Your CMS
philhawksworth
202
19k
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