The RStudio addins manager was recently introduced and makes for great tool. Spread the word!
My favourite addin by far is the ggplot theme assist addin, helping you to organize your ggplot!
RStudio addins manager
I’m reblogging this from: https://csgillespie.wordpress.com/2016/04/01/rstudio-addins-manager/ Thanks to Colin Gillespie!
April 1, 2016
RStudio Addins Manager
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.
The package can be installed via
## Need the latest version of DT as well
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,
ggThemeAssit, indicate that this addins have already installed.
When you click
- Highlighted addins will be installed.
- Un-highlighted addins will be removed.
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.
GGplot theme assist
I’m reblogging this from: https://github.com/calligross/ggthemeassist Thanks to user calligross!
For a full list of features see
There are two known problems with the UI which easily can be fixed:
- On linux and windows, please ensure that you’ve installed at least shiny version 0.13.1.
- We realized shorty after the cran release that there is an issue with smaller screens. Some users may expirience an unapropiate sized plot. This issue has been fixed in version 0.1.1, which can be installed from github (please see below).
You can install the latest version of ggThemeAssist from Github using the
if (!requireNamespace("devtools", quietly = TRUE)) install.packages("devtools") devtools::install_github("calligross/ggthemeassist")
The first stable version of ggThemeAssist, v0.1.0, is now available on CRAN:
We advise users to install from github. Due to CRAN policies and the rapid development of ggThemeAssist, many new features and bugfixes will be available on CRAN several weeks later.
After installing, ggThemeAssist is available in the Addins menu within RStudio.
ggplot2 themes, just highlight a
ggplot2 object in your current script and run the Addin from the Addins menu. ggplot2 will analyze your current plot, update its defaults to your current specification and give you a preview. Use the input widgets to get your ideas into shape. After terminating ggThemeAssist a character string containing your desired changes in standard
ggplot2 notation is inserted in your script. Re-running your script now produces the plot you just configured using ggThemeAssist.