Any way to change colors in Rstudio to something other than default options?

后端 未结 6 448
隐瞒了意图╮
隐瞒了意图╮ 2021-01-30 11:46

Is there anyway to change the color schemes for Rstudio? It comes with 6 or 7 default, pre-packaged

6条回答
  •  长情又很酷
    2021-01-30 12:21

    i am new to R Studio and i would like to share how i was able to customize the color scheme of R Studio:

    How to change the color of comments in Rstudio

    1. Rstudio Pane Appearance > Set editor theme to monokai
    2. Right click on editor pane > Inspect > find the specific file name (i.e. 838C7F60FB885BB7E5EED7F698E453B9.cache.css)
    3. Open drive C > open Progam Files folder > open Rstudio folder
    4. Open www folder > rstudio folder > find the 838C7F60FB885BB7E5EED7F698E453B9.cache.css (name of the theme you want to change)
    5. Make a backup copy of the original
    6. Change .ace_comment {color: #75715E} to .ace_comment {color: #F92672} > save to another location (don't change file name)
    7. Copy the recently saved code and paste it in rstudio folder (step 4) > replace the original 838C7F60FB885BB7E5EED7F698E453B9.cache.css file with the modified 838C7F60FB885BB7E5EED7F698E453B9.cache.csss file
    8. Click continue
    9. Quit Rstudio
    10. Open Rstudio
    11. Check if the color of comment has changed from nightsand(#75715E) to orchid(#F92672)

提交回复
热议问题