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
84
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
110
R + RStudio Tips and Tricks
aswansyahputra
0
160
Blogging with R
aswansyahputra
0
100
Other Decks in Programming
See All in Programming
Compose でデザインと実装の差異を減らすための取り組み
oidy
1
300
Unity Android XR入門
sakutama_11
0
140
Amazon ECS とマイクロサービスから考えるシステム構成
hiyanger
2
490
負債になりにくいCSSをデザイナとつくるには?
fsubal
9
2.3k
AWSマネコンに複数のアカウントで入れるようになりました
yuhta28
2
160
Kubernetes History Inspector(KHI)を触ってみた
bells17
0
200
自分ひとりから始められる生産性向上の取り組み #でぃーぷらすオオサカ
irof
8
2.6k
チームリードになって変わったこと
isaka1022
0
190
“あなた” の開発を支援する AI エージェント Bedrock Engineer / introducing-bedrock-engineer
gawa
11
1.8k
Open source software: how to live long and go far
gaelvaroquaux
0
620
Bedrock Agentsレスポンス解析によるAgentのOps
licux
2
720
SwiftUIで単方向アーキテクチャを導入して得られた成果
takuyaosawa
0
260
Featured
See All Featured
Building Your Own Lightsaber
phodgson
104
6.2k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
59k
Testing 201, or: Great Expectations
jmmastey
41
7.2k
Why You Should Never Use an ORM
jnunemaker
PRO
55
9.2k
Git: the NoSQL Database
bkeepers
PRO
427
64k
Designing Experiences People Love
moore
139
23k
Automating Front-end Workflow
addyosmani
1367
200k
How STYLIGHT went responsive
nonsquared
98
5.3k
Being A Developer After 40
akosma
89
590k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
Making the Leap to Tech Lead
cromwellryan
133
9.1k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
8
270
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