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
130
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
63
Extending RStudio with Git(Hub)
aswansyahputra
0
68
Data rectangling in R: a journey from JSON to CSV
aswansyahputra
0
340
Data Carpentry with Tidyverse
aswansyahputra
0
190
Basic Git+GitHub
aswansyahputra
1
300
Introduction to R +
aswansyahputra
1
300
R (+) for Data Science
aswansyahputra
0
100
R + RStudio Tips and Tricks
aswansyahputra
0
150
Blogging with R
aswansyahputra
0
93
Other Decks in Programming
See All in Programming
SwiftUI Performance 不要なViewの再描画と更新を抑える
bigamitiongit
1
160
Designing for tomorrow's programming workflows
honnibal
PRO
2
110
VSCodeでのDatabricks開発もお勧めしたい/I would also recommend Databricks development with VSCode.
kazumain
0
240
今の SmartHR にエンジニアで入社するとどうなるの?
daisukeshinoku
5
4.6k
[技育CAMPアカデミア]アイディアを形に!【超入門】スマホアプリ開発〜リリースまでの流れをご紹介
teamlab
PRO
0
350
Doctrine ORMでValue Objectを扱う方法4選 #phpstudy / 4 ways to handle Value Objects with Doctrine ORM
77web
4
110
Ruby Pattern Matching
bkuhlmann
0
920
What We Can Learn From OSS
inouehi
0
400
スクラムチームと認知負荷 - ニフティのスクラムトーク Vol2. / NIFTY Tech Talk #18
niftycorp
PRO
1
120
Milestoner
bkuhlmann
1
400
PHP8.3の機能を振り返る / Review of PHP 8.3 features
seike460
PRO
1
110
try! Swift Tokyo 2024のLT枠に採択されたプロポーザルを出すときに考えていたこと
ski
0
340
Featured
See All Featured
Gamification - CAS2011
davidbonilla
76
4.6k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
226
16k
What's in a price? How to price your products and services
michaelherold
237
11k
Thoughts on Productivity
jonyablonski
57
3.8k
The Illustrated Children's Guide to Kubernetes
chrisshort
29
46k
Why You Should Never Use an ORM
jnunemaker
PRO
50
8.6k
It's Worth the Effort
3n
180
27k
How GitHub Uses GitHub to Build GitHub
holman
468
290k
Robots, Beer and Maslow
schacon
PRO
155
7.9k
We Have a Design System, Now What?
morganepeng
42
6.7k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
12
1.5k
The Power of CSS Pseudo Elements
geoffreycrofte
59
5k
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