RStudio的新玩法:addins manager | R-bloggers
Published by 劉正山,
RStudio的新玩法:addins manager
|
有一個新的套件quesitonr值得關注。由這裡機乎可以想像,Rstudio有一天會成為一個完整的統計分析平台。
RStudio addins let you execute a bit of R code or a Shiny app through the RStudio IDE, either via the Addins dropdown menu or with a keyboard shortcut. This package is an RStudio addin for managing other addins. To run these addins, you need the latest version of RStudio.
Installation
The package can be installed via devtools
## Need the latest version of DT as well
devtools::install_github('rstudio/DT')
devtools::install_github("csgillespie/addinmanger")
Running addins
After installing the package, the Addins
menu toolbar will be populated with a new addin called Addin Manager
. When you launch this addin, a DT table will be launched:
In the screenshot above, the highlighted addins, shinyjs
and ggThemeAssit
, indicate that this addins have already installed.
When you click Done
- Highlighted addins will be installed.
- Un-highlighted addins will be removed.
Simple!
Including your addin
Just fork and alter the addin file which is located in the inst/extdata
directory of the package. This file is a csv file with three columns:
- addin Name/title
- Brief Description
- Package. If the package is only on github, use name/repo.
The initial list of addins was obtain from daattali’s repo.
check out package (questionr) for variable renaming and recodingSource URL: https://github.com/daattali/rstudio-addins |
Levels recoding | Interactively generate code to edit factor levels | questionr | ![]() |
Julien Barnier | Demo video | |
Levels ordering | Interactively generate code to reorder factor levels | questionr | ![]() |
Julien Barnier | Demo video | |
Variable cutting | Interactively generate cut() code |
questionr | ![]() |
Julien Barnier | Demo video |