List

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.

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/addinmanager")

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:

Image 2016-04-06 at 3.29 PM

 

 

 

 

 

 

 

 

 

 

 

 

 

 

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.

 

GGplot theme assist

I’m reblogging this from: https://github.com/calligross/ggthemeassist Thanks to user calligross!

 

CRAN Downloads

ggThemeAssist is a RStudio-Addin that uses the rstudioapi package and provides a GUI for editing ggplot2 themes.

For a full list of features see NEWS.

User interface issues

There are two known problems with the UI which easily can be fixed:

  1. On linux and windows, please ensure that you’ve installed at least shiny version 0.13.1.
  2. 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).

Installation

Please be aware that you need the most recent (stable) release of RStudio (v0.99.878 or later). Additionally, ggThemeAssist depends on shiny and miniUI.

Install from Github

You can install the latest version of ggThemeAssist from Github using the devtools package:

if (!requireNamespace("devtools", quietly = TRUE))
  install.packages("devtools")

devtools::install_github("calligross/ggthemeassist")

Install from CRAN

The first stable version of ggThemeAssist, v0.1.0, is now available on CRAN:

install.packages("ggThemeAssist")

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.

Usage

After installing, ggThemeAssist is available in the Addins menu within RStudio.

To edit 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.

 

click here for a GIF example of how ggplot theme assist works

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *

17 + 13 =

This site uses Akismet to reduce spam. Learn how your comment data is processed.

  Posts

1 2 3
September 18th, 2018

Getting started with #deeplearning in R | #RStudio Blog

This is a reblog from the R Studio Blog by Sigrid Keydana, 2018-09-12   There are good reasons to get into deep […]

November 23rd, 2016

#ggforce for accelerating #ggplot2 in #dataviz

  This is a reblog from: Data Imaginist – Announcing ggforce: Accelerating ggplot2 by Thomas Lin Pedersen      November 22, 2016 […]

November 20th, 2016

Reblogged from: Dr. Paige Brown Jarreau, http://www.fromthelabbench.com Taking Facial Recognition to the Ocean – Automatic Identification of Tiny Arctic Animals   […]

November 16th, 2016

ggplot2 2.2.0 #dataviz #R #datascience @rstudio

Yes! The new ggplot is out and my favourite is definitely the updated faceting! This is a reblog from RStudio Blog by […]

November 16th, 2016

ggedit add-on for #ggplot2 #dataviz #R #datascience

This is a reblog from: R-statistics blog: Guest post by Jonathan Sidi, Metrum Research Group ggplot2 has become the standard of […]

August 27th, 2016

#R Packages for #Data Access

This is a reblog from R Packages for Data Access by Joseph Rickert Data Science is all about getting access to […]

August 16th, 2016

Getting Your Colleagues Hooked on #R

You love R and you want your colleagues to love R too. In our latest post we will walk you […]

August 14th, 2016

Convolutional #neuralnetwork in #R (MXNet package) #MachineLearning #DataScience

The Beginner Programmer: Image recognition tutorial in R using deep convolutional neural networks (MXNet package) This is a reblog of […]

June 3rd, 2016

Mad Hatter Explains Support Vector Machines #scicomm #machinelearning #SVM #datascience

This is a reblog from: Joel Caldwell. Thanks for this great story!   “Hatter?” asked Alice, “Why are support vector […]

May 11th, 2016

What’s the difference between machine learning, statistics, and data mining?

This is a reblog from SHARP SIGHT LABS. Thanks for that great article! However, I would like to point out […]