Cross Platform Super Dark IDE Theme, R-Studio Server

March 28, 2019
By

(This article was first published on Blog - R. King Data Consulting, and kindly contributed to R-bloggers)

A recent post over at r-bar.net demonstrated how to use a Windows system utility to achieve a super Dark Rstudio theme.

Super Dark Theme

Super Dark Theme

Well if you liked that post , but are on Linux or OSX or use RStudio Server, then we have a cross platform solution for you!

Rstudio is a web browser, which means it has an index.html page and we can use javascript to change it. And that’s what we’ll do. You’ll need to locate the index.htm file for Rstudio. I did this on linux with locate rstudio | grep www/index.htm.

You’ll also need a copy of jquery.min.js. Use your favorite method of file downloading to first place the contents of that jquery link into a the www/js folder, in a file called jquery.min.js.

Next, copy the following code somewhere between the opening and closing html body tags:


  
	

When you next open RStudio, press Ctrl+Shift+I and Rstudio will invert colors. If you use a light theme, RStudio will switch to the so-called “Super Dark Theme”.

To leave a comment for the author, please follow the link and comment on their blog: Blog - R. King Data Consulting.

R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: Data science, Big Data, R jobs, visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series, trading) and more...



If you got this far, why not subscribe for updates from the site? Choose your flavor: e-mail, twitter, RSS, or facebook...

Comments are closed.

Search R-bloggers

Sponsors

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)