Skip to content

A Dark RStudio Theme inspired by Apple's dark aestheticcc.

License

Notifications You must be signed in to change notification settings

szkhuang/Mojave-Dark-RStudio-Theme

 
 

Repository files navigation

Mojave Dark: An RStudio Theme for Apple Lovers

Dynamic darkening of plots and markdown:

Plot (white to alpha) Markdown (invert colors)

An Xcode-inspired debugger:

Dark styles across the entire IDE, not just the editor:

Code coloring inspired by Xcode:

Mojave Dark Xcode

Installation

In RStudio Preferences > Appearance, set the theme to Modern or Sky. Currently, Mojave Dark doesn't work when the RStudio theme is set to Classic. Then, run the snippet in the RStudio console to install and apply Mojave Dark.

rstudioapi::addTheme("https://raw.githubusercontent.com/patrickshox/Mojave-Dark-RStudio-Theme/master/Mojave%20Dark.rstheme", apply=TRUE, force=TRUE)

The parameter force=TRUE will delete any other themes named "Mojave Dark" and the parameter globally=TRUE will install the theme for all users.

Troubleshooting

If you get the error message: Error in value[[3L]](cond): Unable to add the theme file "/var/folders/tj/w1l6l2hj11l4kpyhv4r2p6gh0000gn/T//RtmpZTjGp2/Mojave Dark.rstheme". The specified theme, "Mojave Dark", already exists in the target location. Please delete the existing theme and try again., you should Go to the Folder (⌘ ⇧ G) ~/.R/rstudio/themes and delete the file "Mojave Dark.rstheme".

About

A Dark RStudio Theme inspired by Apple's dark aestheticcc.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published